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.