This topic has not yet been rated - Rate this topic

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: System.Boolean
A Boolean value that specifies whether the objects are not equal.If True, the objects are equal. Otherwise, False.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.