Any suggestions? Export (0) Print
Expand All

DatabasePermission.Equality Operator (DatabasePermission, DatabasePermission)

 

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: System.Boolean

A Boolean value that specifies whether the objects are not equal.

If True, the objects are equal. Otherwise, False.

Return to top
Show:
© 2016 Microsoft