Share via


ManagementServer.UpdateAgents Method

Definition

Update agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskResult ^ UpdateAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::AgentManagedComputer ^> ^ agentManagedComputer, Microsoft::EnterpriseManagement::Administration::UpdateAgentConfiguration ^ updateAgentConfiguration);
public Microsoft.EnterpriseManagement.Administration.AgentTaskResult UpdateAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> agentManagedComputer, Microsoft.EnterpriseManagement.Administration.UpdateAgentConfiguration updateAgentConfiguration);
member this.UpdateAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.UpdateAgentConfiguration -> Microsoft.EnterpriseManagement.Administration.AgentTaskResult
Public Function UpdateAgents (agentManagedComputer As IList(Of AgentManagedComputer), updateAgentConfiguration As UpdateAgentConfiguration) As AgentTaskResult

Parameters

agentManagedComputer
IList<AgentManagedComputer>

The list of agent-managed computers to update.

updateAgentConfiguration
UpdateAgentConfiguration

Information used to update the agents.

Returns

Agent task result.

Applies to