Partager via


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)

Syntax

'Déclaration
Function QueueBuild ( _
    definition As IBuildDefinition _
) As IQueuedBuild
IQueuedBuild QueueBuild(
    IBuildDefinition definition
)
IQueuedBuild^ QueueBuild(
    IBuildDefinition^ definition
)
abstract QueueBuild : 
        definition:IBuildDefinition -> IQueuedBuild 
function QueueBuild(
    definition : IBuildDefinition
) : IQueuedBuild

Parameters

Return Value

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

Remarks

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

.NET Framework Security

See Also

Reference

IBuildServer Interface

QueueBuild Overload

Microsoft.TeamFoundation.Build.Client Namespace