IObjectPermission.Revoke Method

Revokes previously granted permissions from a grantee or grantees on the SQL Server Management Objects (SMO) object.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
IObjectPermission.Revoke (ObjectPermissionSet, String)
Revokes previously granted permissions from a grantee on the SQL Server Management Objects (SMO) object.
IObjectPermission.Revoke (ObjectPermissionSet, String[])
Revokes previously granted permissions from a list of grantees on the SQL Server Management Objects (SMO) object.
IObjectPermission.Revoke (ObjectPermissionSet, String[], Boolean, Boolean)
Revokes previously granted permissions from a grantees on the SQL Server Management Objects (SMO) object and any other users to whom the grantees have granted access. The grantees are also given the ability to revoke other users' access.
IObjectPermission.Revoke (ObjectPermissionSet, String, Boolean, Boolean, String)
Revokes previously granted permissions from a grantee on the SQL Server Management Objects (SMO) object and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access under an assumed role.

See Also

Reference

IObjectPermission Interface
IObjectPermission Members
Microsoft.SqlServer.Management.Smo Namespace