Share via


StoredProcedure.Revoke Method

Revokes a previously granted set of permissions from a grantee or grantees on the stored procedure.

Remarks

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

Granting, Revoking, and Denying PermissionsCREATE PROCEDURE (Transact-SQL)

Overload List

Name Description
StoredProcedure.Revoke (ObjectPermissionSet, String)
Revokes a previously granted set of permissions from a grantee on the stored procedure.
StoredProcedure.Revoke (ObjectPermissionSet, String[])
Revokes a previously granted set of permissions from a list of grantees on the stored procedure.
StoredProcedure.Revoke (ObjectPermissionSet, String, Boolean, Boolean)
Revokes previously granted permissions from a grantee on the stored procedure and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role.
StoredProcedure.Revoke (ObjectPermissionSet, String[], Boolean, Boolean)
Revokes previously granted permissions from grantees on the stored procedure and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role.
StoredProcedure.Revoke (ObjectPermissionSet, String, Boolean, Boolean, String)
Revokes previously granted permissions from a grantee on the stored procedure and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role.
StoredProcedure.Revoke (ObjectPermissionSet, String[], Boolean, Boolean, String)
Revokes previously granted permissions from grantees on the stored procedure and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role.

See Also

Reference

StoredProcedure Class
StoredProcedure Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Granting, Revoking, and Denying Permissions
CREATE PROCEDURE (Transact-SQL)
Granting, Revoking, and Denying Permissions
CREATE PROCEDURE (Transact-SQL)