Share via


AdministrationWebService.UpdateBuildAgents Method

Updates build agents using the specified update structure to determine which fields are to be updated on the agent. The only required field is the URI for update, which specifies the agent that should be updated in the call. No results are returned. Therefore a successful update is indirectly signaled by the lack of an exception being thrown.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub UpdateBuildAgents ( _
    updates As List(Of BuildAgentUpdateOptions2010) _
)
[WebMethodAttribute]
public void UpdateBuildAgents(
    List<BuildAgentUpdateOptions2010> updates
)
[WebMethodAttribute]
public:
void UpdateBuildAgents(
    List<BuildAgentUpdateOptions2010^>^ updates
)
[<WebMethodAttribute>]
member UpdateBuildAgents : 
        updates:List<BuildAgentUpdateOptions2010> -> unit
public function UpdateBuildAgents(
    updates : List<BuildAgentUpdateOptions2010>
)

Parameters

.NET Framework Security

See Also

Reference

AdministrationWebService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace