JobOperationsExtensions.UpdateStateAsync Method (IJobOperations, String, JobUpdateStateParameters)
Update the state of a job.
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)
<ExtensionAttribute> Public Shared Function UpdateStateAsync ( operations As IJobOperations, jobId As String, parameters As JobUpdateStateParameters ) As Task(Of JobUpdateStateResponse)
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Scheduler.IJobOperations
Reference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.
- jobId
-
Type:
System.String
Required. Id of the job to update.
- parameters
-
Type:
Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParameters
Required. Parameters supplied to the Update Job State operation.
Return Value
Type: System.Threading.Tasks.Task(Of JobUpdateStateResponse)The Update Job State operation response.
Show: