Export (0) Print
Expand All

DatabasePermission.Equality Operator (DatabasePermission, DatabasePermission)

 

Applies To: SQL Server 2016 Preview

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft