Compartir a través de


Server.Deny Método

Incluir miembros protegidos
Incluir miembros heredados

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

Este miembro está sobrecargado. Para obtener información completa acerca de este miembro, incluidos sintaxis, uso y ejemplos, haga clic en un nombre de la lista de sobrecarga.

Lista de sobrecargas

  Nombre Descripción
Método público Deny(ServerPermissionSet, String) Denies the specified set of permissions for the specified grantee on the instance of SQL Server.
Método público Deny(ServerPermissionSet, array<String[]) Denies the specified set of permissions for the specified grantees on the instance of SQL Server.
Método público 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étodo público 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.

Arriba

Comentarios

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.

Vea también

Referencia

Server Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo