Share via


JobOperationsExtensions.StopAsync Method (IJobOperations, String, Guid)

 

Stop the job identified by jobId. (see https://aka.ms/azureautomationsdk/joboperations for more information)

Namespace:   Microsoft.WindowsAzure.Management.Automation
Assembly:  Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Syntax

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)

Parameters

  • automationAccount
    Type: System.String

    Required. The automation account name.

Return Value

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

A standard service response including an HTTP status code and request ID.

See Also

JobOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top