IBuildServer.GetBuildDefinition Method (String, 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(
	string teamProject,
	string name,
	QueryOptions options
)

Parameters

teamProject
Type: System.String

The team project that owns the build definition.

name
Type: System.String

The name of the build definition.

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 specified name in the specified team project.

Show: