Export (0) Print
Expand All

AvailabilityGroup.Deny Method (ObjectPermissionSet, String[], Boolean)

Denies the specified set of permissions for the specified grantees and other users to whom the grantees 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[] granteeNames,
	bool cascade
)

Parameters

permission
Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
The specified set of permissions.
granteeNames
Type: String[]
A list of grantees 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)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft