Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Deny Method (ObjectPermissionSet, String[], Boolean)

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)

Community Additions

ADD
Show:
© 2015 Microsoft