Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.

Community Additions

Show:
© 2015 Microsoft