Partager via


DatabaseRole.Deny Method

Denies the specified set of permissions for the specified grantees on the database role.

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
DatabaseRole.Deny (ObjectPermissionSet, String)
Denies the specified set of permissions for the specified grantee on the database role.
DatabaseRole.Deny (ObjectPermissionSet, String[])
Denies the specified set of permissions for the specified grantees on the database role.
DatabaseRole.Deny (ObjectPermissionSet, 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 database role.
DatabaseRole.Deny (ObjectPermissionSet, 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 database role.

Voir aussi

Référence

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

Autres ressources

Granting, Revoking, and Denying Permissions
Managing Users, Roles, and Logins
Database Roles
CREATE ROLE (Transact-SQL)