This documentation is archived and is not being maintained.

IBuildServer::QueryBuilds Method (IBuildDefinitionSpec)

Gets all builds for a build definition specification.

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

array<IBuildDetail^>^ QueryBuilds(
	IBuildDefinitionSpec^ definitionSpec
)

Parameters

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

The build definition specification for which builds are retrieved.

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client::IBuildDetail>
The builds for the specified build definition specification.

Show: