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

 

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

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

语法

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

参数

  • automationAccount
    Type: System.String

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

返回值

Type: Microsoft.Azure.AzureOperationResponse

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

请参阅

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

返回页首