Bagikan melalui


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

.NET Framework Security

See Also

Reference

IBuildServiceHost Interface

Microsoft.TeamFoundation.Build.Client Namespace