IBuildServer.GetBuild Method (Uri, String[], QueryOptions, QueryDeletedOption)

Gets a single build by Uri.

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

IBuildDetail GetBuild(
	Uri buildUri,
	string[] informationTypes,
	QueryOptions queryOptions,
	QueryDeletedOption queryDeletedOption
)

Parameters

buildUri
Type: System.Uri

The Uri of the build to obtain.

informationTypes
Type: System.String[]

The information types which should be retrieved.

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

The query options.

queryDeletedOption
Type: Microsoft.TeamFoundation.Build.Client.QueryDeletedOption

The deleted options.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail
The build with the given Uri.

Show: