This documentation is archived and is not being maintained.

IBuildServer::GetBuildDefinition Method (Uri, array<String>, QueryOptions)

Gets a single build definition using the specified options to control the amount of data retrieved.

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

IBuildDefinition^ GetBuildDefinition(
	Uri^ buildDefinitionUri, 
	array<String^>^ propertyNameFilters, 
	QueryOptions options
)

Parameters

buildDefinitionUri
Type: System::Uri

The URI fo the build definition

propertyNameFilters
Type: array<System::String>

Property names to query

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

The options to use when querying for data

Return Value

Type: Microsoft.TeamFoundation.Build.Client::IBuildDefinition
The build definition with the given URI.

Show: