This documentation is archived and is not being maintained.

IBuildServer.SaveBuildAgents Method

Saves any changes that were made to the build agents to the server.

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

IBuildAgent[] SaveBuildAgents(
	IBuildAgent[] agents
)

Parameters

agents
Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent[]

An array of the agents to be saved.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildAgent[]
Returns the saved build agents.

Show: