JobOperationsExtensions.StopAsync Method (IJobOperations, String, Guid)

 

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

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

<ExtensionAttribute>
Public Shared Function StopAsync (
	operations As IJobOperations,
	automationAccount As String,
	jobId As Guid
) As Task(Of AzureOperationResponse)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Automation.IJobOperations

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

automationAccount
Type: System.String

Required. The automation account name.

jobId
Type: System.Guid

Required. The job id.

Return Value

Type: System.Threading.Tasks.Task(Of AzureOperationResponse)

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

Return to top
Show: