共用方式為


BatchAccountOperationsExtensions.DeleteAsync 方法

定義

刪除指定的 Batch 帳戶。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.BatchAccountDeleteHeaders> DeleteAsync (this Microsoft.Azure.Management.Batch.IBatchAccountOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Batch.IBatchAccountOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.BatchAccountDeleteHeaders>
<Extension()>
Public Function DeleteAsync (operations As IBatchAccountOperations, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BatchAccountDeleteHeaders)

參數

operations
IBatchAccountOperations

這個擴充方法的作業群組。

resourceGroupName
String

包含 Batch 帳戶的資源群組名稱。

accountName
String

Batch 帳戶的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於