DatabasePermissionSet.Inequality(DatabasePermissionSet, DatabasePermissionSet) DatabasePermissionSet.Inequality(DatabasePermissionSet, DatabasePermissionSet) DatabasePermissionSet.Inequality(DatabasePermissionSet, DatabasePermissionSet) Operator

Definition

Determines whether two objects are unequal by performing an inequality operation on two DatabasePermissionSet objects.

public:
 static bool operator !=(Microsoft::SqlServer::Management::Smo::DatabasePermissionSet ^ p1, Microsoft::SqlServer::Management::Smo::DatabasePermissionSet ^ p2);
public static bool operator != (Microsoft.SqlServer.Management.Smo.DatabasePermissionSet p1, Microsoft.SqlServer.Management.Smo.DatabasePermissionSet p2);
Public Shared Operator != (p1 As DatabasePermissionSet, p2 As DatabasePermissionSet) As Boolean
Parameters
p1
DatabasePermissionSet DatabasePermissionSet DatabasePermissionSet

A DatabasePermissionSet object that specifies the database permission.

p2
DatabasePermissionSet DatabasePermissionSet DatabasePermissionSet

A DatabasePermissionSet object that specifies the database permission.

Returns

A Boolean object that specifies whether the two specified objects are unequal.

If True, the two specified objects are unequal.

If False, the two specified objects are equal.

Examples

Granting, Revoking, and Denying Permissions

Applies to