共用方式為


Revoke 方法

撤銷先前在 SQL Server 執行個體上授與被授與者的權限集。

此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。

多載 清單

  名稱 說明
公用方法 Revoke(ServerPermissionSet, String) 撤銷先前在 SQL Server 執行個體上授與被授與者清單的權限集。
公用方法 Revoke(ServerPermissionSet, array<String> [] () [] []) 撤銷先前在 SQL Server 執行個體上授與被授與者清單的權限集。
公用方法 Revoke(ServerPermissionSet, String, Boolean, Boolean) 撤銷之前在 SQL Server 執行個體上授與被授與者的權限,以及該被授與者對任何其他使用者授與的指定權限集。被授與者也能夠撤銷其他使用者所擔任角色的指定權限集。
公用方法 Revoke(ServerPermissionSet, array<String> [] () [] [], Boolean, Boolean) 撤銷之前在 SQL Server 執行個體上授與被授與者的權限,以及該被授與者對任何其他使用者授與的指定權限集。被授與者也能夠撤銷其他使用者所擔任角色的指定權限集。
公用方法 Revoke(ServerPermissionSet, String, Boolean, Boolean, String) 撤銷之前在 SQL Server 執行個體上授與被授與者的權限,以及該被授與者對任何其他使用者授與的指定權限集。被授與者也能夠撤銷其他使用者所擔任角色的指定權限集。
公用方法 Revoke(ServerPermissionSet, array<String> [] () [] [], Boolean, Boolean, String) 撤銷之前在 SQL Server 執行個體上授與被授與者的權限,以及該被授與者對任何其他使用者授與的指定權限集。被授與者也能夠撤銷其他使用者所擔任角色的指定權限集。

上層

備註

The Revoke method has several overloads that give you a choice of whether to revoke one or more permissions from a single grantee or from several grantees. It lets you specify whether the grantee has permission to revoke the permissions from others, and what role the grantee assumes when taking this action. This method also lets you revoke any permissions that the grantee might have granted to other users.