Partager via


Database.Revoke Method

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Liste de surcharge

Nom Description
Database.Revoke (DatabasePermissionSet, String)
Revokes a previously granted set of permissions from a grantee on the database.
Database.Revoke (DatabasePermissionSet, String[])
Revokes a previously granted set of permissions from a list of grantees on the database.
Database.Revoke (DatabasePermissionSet, String, Boolean, Boolean)
Revokes previously granted permissions from a grantee on the database 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.
Database.Revoke (DatabasePermissionSet, String[], Boolean, Boolean)
Revokes previously granted permissions from grantees on the database 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.
Database.Revoke (DatabasePermissionSet, String, Boolean, Boolean, String)
Revokes previously granted permissions from a grantee on the database 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.
Database.Revoke (DatabasePermissionSet, String[], Boolean, Boolean, String)
Revokes previously granted permissions from grantees on the database 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.

Voir aussi

Référence

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

Autres ressources

How to: Create, Alter, and Remove a Database in Visual Basic .NET
Granting, Revoking, and Denying Permissions
Creating, Altering, and Removing Databases
CREATE DATABASE (Transact-SQL)