Deny 方法

对 SQL Server 实例上的指定被授权者拒绝指定的权限集。

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 Deny(ServerPermissionSet, String) 对 SQL Server 实例上的指定被授权者拒绝指定的权限集。
公共方法 Deny(ServerPermissionSet, array<String> [] () [] []) 对 SQL Server 实例上的指定被授权者拒绝指定的权限集。
公共方法 Deny(ServerPermissionSet, String, Boolean) 对指定的被授权者以及该被授权者向其授予针对 SQL Server 实例上的指定权限集的其他用户,拒绝指定的权限集。
公共方法 Deny(ServerPermissionSet, array<String> [] () [] [], Boolean) 对指定的被授权者以及该被授权者向其授予针对 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.