Méthode Server.Deny

Inclure les membres protégés
Inclure les membres hérités

Denies the specified set of permissions for the specified grantees on the instance of SQL Server.

Ce membre est surchargé. Pour plus d'informations sur ce membre, notamment sur la syntaxe et l'utilisation, et pour visualiser des exemples, cliquez sur un nom dans la liste de surcharge.

Liste de surcharge

  Nom Description
Méthode publique Deny(ServerPermissionSet, String) Denies the specified set of permissions for the specified grantee on the instance of SQL Server.
Méthode publique Deny(ServerPermissionSet, array<String[]) Denies the specified set of permissions for the specified grantees on the instance of SQL Server.
Méthode publique Deny(ServerPermissionSet, String, Boolean) Denies the specified set of permissions for the specified grantee and other users that the grantee granted the specified set of permissions on the instance of SQL Server.
Méthode publique Deny(ServerPermissionSet, array<String[], Boolean) Denies the specified set of permissions for the specified grantees and other users that the grantee granted the specified set of permissions on the instance of SQL Server.

Haut de la page

Notes

The Deny method has several overloads that give you a choice of whether to deny permissions to a single grantee or several grantees. You can also decide whether to include the Cascade option. The Cascade option determines whether the permissions that were denied by the grantees are also denied to other users.

Voir aussi

Référence

Server Classe

Espace de noms Microsoft.SqlServer.Management.Smo