This documentation is archived and is not being maintained.

IBuildServiceHost::DeleteBuildAgent Method

Deletes the specified build agent from this service host.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

bool DeleteBuildAgent(
	IBuildAgent^ agent
)

Parameters

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

The build agent to delete.

Return Value

Type: System::Boolean
True if the build agent was successfully deleted; otherwise, false.

Show: