ReserveNextJob Method
Reserve the next job in the queue
Required Permissions
JobQueueReserveSyntax
public Job ReserveNextJob(
System.string[] jobTypes,
System.string clientName
)Public Function ReserveNextJob( _
ByVal jobTypes() As System.String, _
ByVal clientName As System.String _
) As JobParameters
| Name | Description |
|---|---|
| jobTypes | An array of types that the client is interested in handling. |
| clientName | The 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.