Revoke Method (ObjectPermissionSet, String[])

MessageType.Revoke Method (ObjectPermissionSet, String[])

 

Revokes previously granted permissions from a list of grantees on the Message type.

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

public void Revoke(
	ObjectPermissionSet permission,
	string[] granteeNames
)

Parameters

permission
Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet

An ObjectPermissionSet object that specifies the permission.

granteeNames
Type: System.String[]

A String array that specifies a list of grantees to be revoked access to the permission.

Return to top
Show:
© 2016 Microsoft