This documentation is archived and is not being maintained.
IBuildServiceHost::FindBuildAgent Method
Visual Studio 2013
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)
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::IBuildAgentThe build agent that has the specified name and that is associated with the specified build controller.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: