Udostępnij za pośrednictwem


JobOperationsExtensions.StopAsync(IJobOperations, String, Guid) Method

Definition

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

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

Parameters

operations
IJobOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IJobOperations.

automationAccount
String

Required. The automation account name.

jobId
Guid

Required. The job id.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to