Autodesk Vault ProfessionalVault API

ReserveNextJob Method

Autodesk.Connectivity.WebServicesJobService

Reserve the next job in the queue

Required Permissions

JobQueueReserve

Syntax

public Job ReserveNextJob(
   System.string[] jobTypes,
   System.string clientName
)
Public Function ReserveNextJob( _
   ByVal jobTypes() As System.String, _
   ByVal clientName As System.String _
) As Job

Parameters

NameDescription
jobTypesAn array of types that the client is interested in handling.
clientNameThe computer name of the client.

Return Value

A job that is reserved to the client or null if there are no jobs in the queue of a matching type.

Remarks

This ensures that two clients don't work on the same job.

See Also