Freigeben über


TeamFoundationBuildResourceService.UpdateBuildAgents Method

Updates a list of build agents. Notifications are asynchronously sent to the physical service host regarding the modification of any build agents, and a BIS event is fired if the status of the agent changes.

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

Syntax

'Declaration
Public Sub UpdateBuildAgents ( _
    requestContext As TeamFoundationRequestContext, _
    updates As IList(Of BuildAgentUpdateOptions), _
    canUpdateElastic As Boolean, _
    fromDev10Client As Boolean _
)
public void UpdateBuildAgents(
    TeamFoundationRequestContext requestContext,
    IList<BuildAgentUpdateOptions> updates,
    bool canUpdateElastic,
    bool fromDev10Client
)
public:
void UpdateBuildAgents(
    TeamFoundationRequestContext^ requestContext, 
    IList<BuildAgentUpdateOptions^>^ updates, 
    bool canUpdateElastic, 
    bool fromDev10Client
)
member UpdateBuildAgents : 
        requestContext:TeamFoundationRequestContext * 
        updates:IList<BuildAgentUpdateOptions> * 
        canUpdateElastic:bool * 
        fromDev10Client:bool -> unit
public function UpdateBuildAgents(
    requestContext : TeamFoundationRequestContext, 
    updates : IList<BuildAgentUpdateOptions>, 
    canUpdateElastic : boolean, 
    fromDev10Client : boolean
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationBuildResourceService Class

Microsoft.TeamFoundation.Build.Server Namespace