Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IBuildServer.QueueBuild Method (IBuildRequest, QueueOptions)

Queues a build for the specified build request.

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

abstract QueueBuild : 
        request:IBuildRequest * 
        options:QueueOptions -> IQueuedBuild


Type: Microsoft.TeamFoundation.Build.Client.IBuildRequest

The parameters that are used in queuing the build, including the BuildDefinition and BuildAgent.

Type: Microsoft.TeamFoundation.Build.Client.QueueOptions

The options for the queuing of the build, including whether to preview the queue position.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuild
The queued build.

© 2015 Microsoft