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

UserDefinedType.Revoke Method (ObjectPermissionSet, String)

Revokes a previously granted set of permissions from a grantee on the alias data type.

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

public void Revoke(
	ObjectPermissionSet permission,
	string granteeName
)

Parameters

permission
Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
An ObjectPermissionSet object that specifies the set of permissions.
granteeName
Type: String
A String value that specifies a grantee to be revoked the set of permissions.

Implements

IObjectPermission.Revoke(ObjectPermissionSet, String)

Community Additions

ADD
Show:
© 2015 Microsoft