This documentation is archived and is not being maintained.

TeamFoundationJobService::QueueJobNow Method (TeamFoundationJobDefinition, Boolean)

Queues the specified job to be executed now.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public:
virtual int QueueJobNow(
	TeamFoundationJobDefinition^ job, 
	bool highPriority
) sealed

Parameters

job
Type: Microsoft.TeamFoundation.Framework.Client::TeamFoundationJobDefinition

The TeamFoundationJobDefinition of the job to queue.

highPriority
Type: System::Boolean

True if this job is high priority; otherwise, false.

Return Value

Type: System::Int32
The number of jobs that were queued.

Implements

ITeamFoundationJobService::QueueJobNow(TeamFoundationJobDefinition, Boolean)

Show: