This documentation is archived and is not being maintained.

IBuildServer.QueryBuilds Method (String, String)

Gets all the builds for a given team project and definition.

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

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 in the team project for which builds are retrieved.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail[]
Returns the builds for the given team project and definition.

Show: