This topic has not yet been rated - Rate this topic

IBuildServer.GetBuild Method (IBuildDefinitionSpec, String, String[], QueryOptions)

Gets a single build.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
IBuildDetail GetBuild(
	IBuildDefinitionSpec buildDefinitionSpec,
	string buildNumber,
	string[] informationTypes,
	QueryOptions queryOptions
)

Parameters

buildDefinitionSpec
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinitionSpec

The specification of the build definition that owns the build.

buildNumber
Type: String

The number of the build.

informationTypes
Type: String[]

The information type that should be retrieved.

queryOptions
Type: Microsoft.TeamFoundation.Build.Client.QueryOptions

The query options.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail
Returns the build with the given build definition path and number.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.