Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 void Revoke (
	ObjectPermissionSet permission,
	string granteeName
public final void Revoke (
	ObjectPermissionSet permission, 
	String granteeName
public final function Revoke (
	permission : ObjectPermissionSet, 
	granteeName : String



An ObjectPermissionSet object that specifies the set of permissions.


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

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

© 2015 Microsoft