共用方式為


KeyVaultAccessControlClient.DeleteRoleDefinition 方法

定義

刪除角色定義。

public virtual Azure.Response DeleteRoleDefinition (Azure.Security.KeyVault.Administration.KeyVaultRoleScope roleScope, Guid roleDefinitionName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteRoleDefinition : Azure.Security.KeyVault.Administration.KeyVaultRoleScope * Guid * System.Threading.CancellationToken -> Azure.Response
override this.DeleteRoleDefinition : Azure.Security.KeyVault.Administration.KeyVaultRoleScope * Guid * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteRoleDefinition (roleScope As KeyVaultRoleScope, roleDefinitionName As Guid, Optional cancellationToken As CancellationToken = Nothing) As Response

參數

roleScope
KeyVaultRoleScope

要刪除的角色範圍。

roleDefinitionName
Guid

要刪除的角色定義名稱。

cancellationToken
CancellationToken

控制 CancellationToken 要求存留期的 。

傳回

包含作業結果的 Response<T>

適用於