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


Server.Deny Method

Denies the specified set of permissions for the specified grantees on the instance of Microsoft 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.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

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

Имя Description
Server.Deny (ServerPermissionSet, String)
Denies the specified set of permissions for the specified grantee on the instance of Microsoft SQL Server.
Server.Deny (ServerPermissionSet, String[])
Denies the specified set of permissions for the specified grantees on the instance of Microsoft SQL Server.
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 Microsoft SQL Server.
Server.Deny (ServerPermissionSet, 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 Microsoft SQL Server.

См. также

Справочник

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

Другие ресурсы

How to: Grant Server Permissions in Visual Basic .NET
Granting, Revoking, and Denying Permissions
Управление серверами