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
'Declaration
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
definition
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinitionThe definition for which a build is queued.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuild
The queued build.
Remarks
Equivalent to calling QueueBuild(definition.CreateBuildRequest()).
.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.