This documentation is archived and is not being maintained.

IBuildServer::GetBuildDefinition Method (String, String)

Gets a single build definition.

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

IBuildDefinition^ GetBuildDefinition(
	String^ teamProject, 
	String^ name
)

Parameters

teamProject
Type: System::String

The build definition with the given URI.

name
Type: System::String

The name of the build definition.

Return Value

Type: Microsoft.TeamFoundation.Build.Client::IBuildDefinition
Returns the build definition with the given name in the given team project.

Show: