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.Stringthe Team Project in which to create the build
buildDefinitionUri
Type: System.Urithe full Uri for the definition
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuild
Returns IQueuedBuild.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.