Поделиться через


Метод Server.Deny

Показывать защищенные элементы
Показывать наследуемые элементы

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

Этот элемент перегружен. Чтобы получить полные сведения об этом элементе (синтаксисе, использовании и примерах использования), щелкните его имя в списке перегрузок.

Список перегрузок

  Имя Описание
Открытый метод Deny(ServerPermissionSet, String) Denies the specified set of permissions for the specified grantee on the instance of SQL Server.
Открытый метод Deny(ServerPermissionSet, array<String[]) Denies the specified set of permissions for the specified grantees on the instance of SQL Server.
Открытый метод 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.
Открытый метод 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.

В начало

Замечания

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.

См. также

Справочник

Server Класс

Пространство имен Microsoft.SqlServer.Management.Smo