JobOperationsExtensions.UpdateState Method (IJobOperations, String, JobUpdateStateParameters)
Update the state of a job.
Namespace: Microsoft.WindowsAzure.Scheduler
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)
Syntax
public static JobUpdateStateResponse UpdateState(
this IJobOperations operations,
string jobId,
JobUpdateStateParameters parameters
)
public:
[ExtensionAttribute]
static JobUpdateStateResponse^ UpdateState(
IJobOperations^ operations,
String^ jobId,
JobUpdateStateParameters^ parameters
)
static member UpdateState :
operations:IJobOperations *
jobId:string *
parameters:JobUpdateStateParameters -> JobUpdateStateResponse
<ExtensionAttribute>
Public Shared Function UpdateState (
operations As IJobOperations,
jobId As String,
parameters As JobUpdateStateParameters
) As JobUpdateStateResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Scheduler.IJobOperationsReference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.
jobId
Type: System.StringRequired. Id of the job to update.
parameters
Type: Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateParametersRequired. Parameters supplied to the Update Job State operation.
Return Value
Type: Microsoft.WindowsAzure.Scheduler.Models.JobUpdateStateResponse
The Update Job State operation response.
See Also
JobOperationsExtensions Class
Microsoft.WindowsAzure.Scheduler Namespace
Return to top