JobOperationsExtensions.StopAsync 方法 (IJobOperations, String, Guid)

 

停止由作业 Id 标识的作业。 (请参阅 https://aka.ms/azureautomationsdk/joboperations 有关详细信息)

命名空间:   Microsoft.WindowsAzure.Management.Automation
程序集:  Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)

语法

public static Task<AzureOperationResponse> StopAsync(
    this IJobOperations operations,
    string automationAccount,
    Guid jobId
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ StopAsync(
    IJobOperations^ operations,
    String^ automationAccount,
    Guid jobId
)
static member StopAsync : 
        operations:IJobOperations *
        automationAccount:string *
        jobId:Guid -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function StopAsync (
    operations As IJobOperations,
    automationAccount As String,
    jobId As Guid
) As Task(Of AzureOperationResponse)

参数

  • automationAccount
    Type: System.String

    必需。 自动管理帐户名称。

返回值

Type: System.Threading.Tasks.Task<AzureOperationResponse>

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

请参阅

JobOperationsExtensions 类
Microsoft.WindowsAzure.Management.Automation 命名空间

返回页首