IBuildServer.QueueBuild Method (IBuildDefinition)

Queues a build for the specified build definition with all default options.

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

IQueuedBuild QueueBuild(
	IBuildDefinition definition
)

Parameters

definition
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition

The definition for which a build is queued.

Return Value

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

Equivalent to calling QueueBuild(definition.CreateBuildRequest()).

Show: