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

XmlSchemaCollection.Revoke Method (ObjectPermissionSet, String)


Revokes a previously granted set of permissions from a grantee on the XML schema collection.

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

public void Revoke(
	ObjectPermissionSet permission,
	string granteeName


Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet

An ObjectPermissionSet object that specifies the set of permissions.

Type: System.String

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft