This documentation is archived and is not being maintained.

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)

void AddBuildAgent(
	IBuildAgent^ agent
)

Parameters

agent
Type: Microsoft.TeamFoundation.Build.Client::IBuildAgent

The build agent to add.

Show: