IBuildServiceHost.AddBuildAgent Method
Adds a build agent to the collection of agents that are associated with this service host.
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.IBuildAgentThe 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.