共用方式為


JobScheduleOperationsExtensions.DeleteAsync 方法

定義

多載

DeleteAsync(IJobScheduleOperations, String, String, Guid)
DeleteAsync(IJobScheduleOperations, String, String, Guid, CancellationToken)

刪除作業排程名稱所識別的作業排程。 http://aka.ms/azureautomationsdk/jobscheduleoperations

DeleteAsync(IJobScheduleOperations, String, String, Guid)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.Azure.Management.Automation.IJobScheduleOperations operations, string resourceGroupName, string automationAccount, Guid jobScheduleName);
static member DeleteAsync : Microsoft.Azure.Management.Automation.IJobScheduleOperations * string * string * Guid -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IJobScheduleOperations, resourceGroupName As String, automationAccount As String, jobScheduleName As Guid) As Task(Of AzureOperationResponse)

參數

resourceGroupName
String
automationAccount
String
jobScheduleName
Guid

傳回

Task<Microsoft.Azure.AzureOperationResponse>

適用於

DeleteAsync(IJobScheduleOperations, String, String, Guid, CancellationToken)

刪除作業排程名稱所識別的作業排程。 http://aka.ms/azureautomationsdk/jobscheduleoperations

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Automation.IJobScheduleOperations operations, string resourceGroupName, string automationAccountName, Guid jobScheduleId, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Automation.IJobScheduleOperations * string * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IJobScheduleOperations, resourceGroupName As String, automationAccountName As String, jobScheduleId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task

參數

operations
IJobScheduleOperations

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

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

jobScheduleId
Guid

作業排程名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於