Export (0) Print
Expand All

ObjectPermission.Equality Operator (ObjectPermission, ObjectPermission)

 

Applies To: SQL Server 2016 Preview

Creates an object permission set by performing an equality operation on two ObjectPermission objects.

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

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

Parameters

p1
Type: Microsoft.SqlServer.Management.Smo.ObjectPermission

An ObjectPermission object that specifies the object permission.

p2
Type: Microsoft.SqlServer.Management.Smo.ObjectPermission

An ObjectPermission object that specifies the object permission.

Return Value

Type: System.Boolean

An ObjectPermissionSet object that specifies a set of object permissions.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft