ITeamFoundationJobService.QueueDelayedJobs Method (IEnumerable<TeamFoundationJobDefinition>, Int32)
Schedules the specified enumerable collection of jobs to be executed in the near future.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
int QueueDelayedJobs( IEnumerable<TeamFoundationJobDefinition> jobs, int maxDelaySeconds )
- Type: System.Collections.Generic.IEnumerable<TeamFoundationJobDefinition>
An enumerable collection of job definitions to schedule for execution.
- Type: System.Int32
The number of seconds to delay the start of the job.
Return ValueType: System.Int32
The number of jobs that were successfully scheduled for execution.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.