IBuildServer.SaveBuildAgents Method
Saves any changes made to the build agents to the server.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Function SaveBuildAgents ( _
agents As IBuildAgent() _
) As IBuildAgent()
IBuildAgent[] SaveBuildAgents(
IBuildAgent[] agents
)
array<IBuildAgent^>^ SaveBuildAgents(
array<IBuildAgent^>^ agents
)
abstract SaveBuildAgents :
agents:IBuildAgent[] -> IBuildAgent[]
function SaveBuildAgents(
agents : IBuildAgent[]
) : IBuildAgent[]
Parameters
- agents
Type: array<Microsoft.TeamFoundation.Build.Client.IBuildAgent[]
The agents to save.
Return Value
Type: array<Microsoft.TeamFoundation.Build.Client.IBuildAgent[]
The saved build agents.
.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.