Share via


IBuildDefinition.CreateBuildRequest Method

Creates a build request from the build definition that has values for IBuildAgent and drop location set to the default build agent and default drop location.

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

Syntax

'Declaration
Function CreateBuildRequest As IBuildRequest
IBuildRequest CreateBuildRequest()
IBuildRequest^ CreateBuildRequest()
abstract CreateBuildRequest : unit -> IBuildRequest
function CreateBuildRequest() : IBuildRequest

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildRequest
Returns an IBuildRequest, the new build request, that can be used to queue a build.

.NET Framework Security

See Also

Reference

IBuildDefinition Interface

Microsoft.TeamFoundation.Build.Client Namespace