Udostępnij za pośrednictwem


JobOperationsExtensions.UpdateState Method

Definition

Update the state of a job.

public static Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateResponse UpdateState (this Microsoft.WindowsAzure.Scheduler.IJobOperations operations, string jobId, Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParameters parameters);
static member UpdateState : Microsoft.WindowsAzure.Scheduler.IJobOperations * string * Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParameters -> Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateResponse
<Extension()>
Public Function UpdateState (operations As IJobOperations, jobId As String, parameters As JobUpdateStateParameters) As JobUpdateStateResponse

Parameters

operations
IJobOperations

Reference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.

jobId
String

Required. Id of the job to update.

parameters
JobUpdateStateParameters

Required. Parameters supplied to the Update Job State operation.

Returns

The Update Job State operation response.

Applies to