Export (0) Print
Expand All

DatabasePermission.Equality Operator

Compares two DatabasePermission objects in an equality operation.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public static bool operator ==(
	DatabasePermission p1,
	DatabasePermission p2
)

Parameters

p1
Type: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that specifies the database permissions.
p2
Type: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that specifies the database permissions.

Return Value

Type: Boolean
A Boolean value that specifies whether the objects are not equal.If True, the objects are equal. Otherwise, False.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft