IBuildController.AddBuildAgent Method
Adds a build agent to this build controller.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Sub AddBuildAgent ( _
agent As IBuildAgent _
)
void AddBuildAgent(
IBuildAgent agent
)
void AddBuildAgent(
IBuildAgent^ agent
)
abstract AddBuildAgent :
agent:IBuildAgent -> unit
function AddBuildAgent(
agent : IBuildAgent
)
Parameters
- agent
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent
The build agent to add.
.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.