Поделиться через


IBuildDetailManager.QueueBuild Method

This action is the same as the user selecting Queue Build from the Team Explorer Build Definition context menu.

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

Syntax

'Declaration
Function QueueBuild ( _
    teamProject As String, _
    buildDefinitionUri As Uri _
) As IQueuedBuild
IQueuedBuild QueueBuild(
    string teamProject,
    Uri buildDefinitionUri
)
IQueuedBuild^ QueueBuild(
    String^ teamProject, 
    Uri^ buildDefinitionUri
)
abstract QueueBuild : 
        teamProject:string * 
        buildDefinitionUri:Uri -> IQueuedBuild
function QueueBuild(
    teamProject : String, 
    buildDefinitionUri : Uri
) : IQueuedBuild

Parameters

  • teamProject
    Type: System.String

    the Team Project in which to create the build

  • buildDefinitionUri
    Type: System.Uri

    the full Uri for the definition

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuild
Returns IQueuedBuild.

.NET Framework Security

See Also

Reference

IBuildDetailManager Interface

Microsoft.VisualStudio.TeamFoundation.Build Namespace