This documentation is archived and is not being maintained.

IBuildServer::QueryBuildDefinitionsByUri Method (array<Uri>, QueryOptions)

Gets the build definitions that match the given URIs. The specified query options determine the amount of data that is retrieved in the query.

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

array<IBuildDefinition^>^ QueryBuildDefinitionsByUri(
	array<Uri^>^ buildDefinitionUris, 
	QueryOptions options
)

Parameters

buildDefinitionUris
Type: array<System::Uri>

The build definition URIs.

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

The options to use when querying for data.

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client::IBuildDefinition>
The build definitions. For unmatched URIs, corresponding indices will be null.

Show: