This documentation is archived and is not being maintained.

IBuildServer::QueryBuilds Method (String, String)

Gets all builds for a team project and definition.

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

array<IBuildDetail^>^ QueryBuilds(
	String^ teamProject, 
	String^ definitionName
)

Parameters

teamProject
Type: System::String

The team project for which builds are retrieved.

definitionName
Type: System::String

The definition for which builds are retrieved.

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client::IBuildDetail>
The builds for the specified team project and definition.

Show: