JobOperationsExtensions.UpdateJobCollectionStateAsync Method
Update the state of all jobs in a job collections.
Namespace: Microsoft.WindowsAzure.Scheduler
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)
Usage
'Usage
Dim operations As IJobOperations
Dim parameters As JobCollectionJobsUpdateStateParameters
Dim returnValue As Task(Of JobCollectionJobsUpdateStateResponse)
returnValue = JobOperationsExtensions.UpdateJobCollectionStateAsync(operations, parameters)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function UpdateJobCollectionStateAsync ( _
operations As IJobOperations, _
parameters As JobCollectionJobsUpdateStateParameters _
) As Task(Of JobCollectionJobsUpdateStateResponse)
[ExtensionAttribute]
public static Task<JobCollectionJobsUpdateStateResponse> UpdateJobCollectionStateAsync (
IJobOperations operations,
JobCollectionJobsUpdateStateParameters parameters
)
[ExtensionAttribute]
public:
static Task<JobCollectionJobsUpdateStateResponse^>^ UpdateJobCollectionStateAsync (
IJobOperations^ operations,
JobCollectionJobsUpdateStateParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static Task<JobCollectionJobsUpdateStateResponse> UpdateJobCollectionStateAsync (
IJobOperations operations,
JobCollectionJobsUpdateStateParameters parameters
)
ExtensionAttribute
public static function UpdateJobCollectionStateAsync (
operations : IJobOperations,
parameters : JobCollectionJobsUpdateStateParameters
) : Task<JobCollectionJobsUpdateStateResponse>
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.
- parameters
Required. Parameters supplied to the Update Jobs State operation.
Return Value
The Update Jobs State operation response.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
JobOperationsExtensions Class
JobOperationsExtensions Members
Microsoft.WindowsAzure.Scheduler Namespace