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)
Syntax
'Declaração
Function FindBuildAgent ( _
controller As String, _
name As String _
) As IBuildAgent
IBuildAgent FindBuildAgent(
string controller,
string name
)
IBuildAgent^ FindBuildAgent(
String^ controller,
String^ name
)
abstract FindBuildAgent :
controller:string *
name:string -> IBuildAgent
function FindBuildAgent(
controller : String,
name : String
) : IBuildAgent
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.
.NET Framework Security
- 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.