This documentation is archived and is not being maintained.

IBuildServiceHost::FindBuildAgent Method

Gets the build agent that has the specified name and that is associated with the specified build controller.

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

IBuildAgent^ FindBuildAgent(
	String^ controller, 
	String^ name
)

Parameters

controller
Type: System::String

The build controller that is associated with the desired build agent.

name
Type: System::String

The name of the desired build agent.

Return Value

Type: Microsoft.TeamFoundation.Build.Client::IBuildAgent
The build agent that has the specified name and that is associated with the specified build controller.

Show: