共用方式為


KeyVaultAccessControlClient.DeleteRoleDefinitionAsync 方法

定義

刪除角色定義。

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

參數

roleScope
KeyVaultRoleScope

要刪除的角色範圍。

roleDefinitionName
Guid

要刪除的角色定義名稱。

cancellationToken
CancellationToken

CancellationToken控制要求存留期的 。

傳回

Task<TResult> 表示非同步作業的結果。

適用於