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
updates
Type: System.Collections.Generic.List<BuildAgentUpdateOptions2010>The updates that should be applied to the server.
.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.
See Also
Reference
AdministrationWebService Class
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace