Removes a build agent from this controller.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Sub RemoveBuildAgent ( _
    agent As IBuildAgent _
)
void RemoveBuildAgent(
    IBuildAgent agent
)
void RemoveBuildAgent(
    IBuildAgent^ agent
)
abstract RemoveBuildAgent : 
        agent:IBuildAgent -> unit
function RemoveBuildAgent(
    agent : IBuildAgent
)
Parameters
- agent 
 Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent- The agent that will be removed. 
.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.