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: System.String

The grantee to be denied the specified set of permissions on the availability group.

cascade
Type: System.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.

Return to top
Show: