Export (0) Print
Expand All

AvailabilityGroup.Deny Method (ObjectPermissionSet, String, Boolean)

Denies the specified set of permissions for the specified grantee and other users to whom the grantee granted the specified set of permissions on the availability group.

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

public void Deny(
	ObjectPermissionSet permission,
	string granteeName,
	bool cascade
)

Parameters

permission
Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
The specified set of permissions.
granteeName
Type: String
The grantee to be denied the specified set of permissions on the availability group.
cascade
Type: Boolean
true if the grantee and the users to whom the grantee granted the specified set of permissions are all denied the specified set of permissions; otherwise, false.

Implements

IObjectPermission.Deny(ObjectPermissionSet, String, Boolean)

Community Additions

ADD
Show:
© 2014 Microsoft