IBuildServer.QueryBuildDefinitions Method (String, QueryOptions)

Gets the build definitions for the specified team project. 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)

IBuildDefinition[] QueryBuildDefinitions(
	string teamProject,
	QueryOptions options
)

Parameters

teamProject
Type: System.String

The team project for which build definitions are retrieved.

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 definitions for the specified team project.

Show: