IBuildServer.QueueBuild Method (IBuildRequest)
Queues a build for the specified build request with default QueueOptions.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Function QueueBuild ( _
request As IBuildRequest _
) As IQueuedBuild
IQueuedBuild QueueBuild(
IBuildRequest request
)
IQueuedBuild^ QueueBuild(
IBuildRequest^ request
)
abstract QueueBuild :
request:IBuildRequest -> IQueuedBuild
function QueueBuild(
request : IBuildRequest
) : IQueuedBuild
Parameters
- request
Type: Microsoft.TeamFoundation.Build.Client.IBuildRequest
The parameters used in queuing the build, including the BuildDefinition and BuildAgent.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuild
The queued build.
.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.