你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

JobOperationsExtensions.DeleteAsync(IJobOperations, String) 方法

定义

删除作业。

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.WindowsAzure.Scheduler.IJobOperations operations, string jobId);
static member DeleteAsync : Microsoft.WindowsAzure.Scheduler.IJobOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IJobOperations, jobId As String) As Task(Of AzureOperationResponse)

参数

operations
IJobOperations

对 Microsoft.WindowsAzure.Scheduler.IJobOperations 的引用。

jobId
String

必需。 要删除的作业的 ID。

返回

Task<Microsoft.Azure.AzureOperationResponse>

标准服务响应,包括 HTTP 状态代码和请求 ID。

适用于