Endpoint::Revoke Method (ObjectPermissionSet^, String^)

 

Revokes a previously granted set of permissions from a grantee on the endpoint.

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

public:
virtual void Revoke(
	ObjectPermissionSet^ permission,
	String^ granteeName
) sealed

Parameters

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

An ObjectPermissionSet object that specifies the set of permissions.

granteeName
Type: System::String^

A String value that specifies a grantee to be revoked the set of permissions.

Return to top
Show: