ManagementServer.UpdateAgents Method

Updated: April 16, 2012

Updates agents from a specified collection of agent-managed computers. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ManagementServer Dim agentManagedComputer As IList(Of AgentManagedComputer) Dim updateAgentConfiguration As UpdateAgentConfiguration Dim returnValue As AgentTaskResult returnValue = instance.UpdateAgents(agentManagedComputer, updateAgentConfiguration)Public Function UpdateAgents ( _ agentManagedComputer As IList(Of AgentManagedComputer), _ updateAgentConfiguration As UpdateAgentConfiguration _ ) As AgentTaskResultpublic AgentTaskResult UpdateAgents ( IList<AgentManagedComputer> agentManagedComputer, UpdateAgentConfiguration updateAgentConfiguration )public: AgentTaskResult^ UpdateAgents ( IList<AgentManagedComputer^>^ agentManagedComputer, UpdateAgentConfiguration^ updateAgentConfiguration )public AgentTaskResult UpdateAgents ( IList<AgentManagedComputer> agentManagedComputer, UpdateAgentConfiguration updateAgentConfiguration )public function UpdateAgents ( agentManagedComputer : IList<AgentManagedComputer>, updateAgentConfiguration : UpdateAgentConfiguration ) : AgentTaskResultParametersagentManagedComputerThe list of agent-managed computers to update.updateAgentConfigurationInformation used to update the agents.Return ValueReturns an AgentTaskResult object that contains the results of the update operation.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms