ManagementServer.UpdateAgents Method (IList<AgentManagedComputer>, UpdateAgentConfiguration)
Applies To: Operations Manager for System Center 2012
Updates agents from a specified collection of agent-managed computers.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public AgentTaskResult UpdateAgents(
IList<AgentManagedComputer> agentManagedComputer,
UpdateAgentConfiguration updateAgentConfiguration
)
public:
AgentTaskResult^ UpdateAgents(
IList<AgentManagedComputer^>^ agentManagedComputer,
UpdateAgentConfiguration^ updateAgentConfiguration
)
member UpdateAgents :
agentManagedComputer:IList<AgentManagedComputer> *
updateAgentConfiguration:UpdateAgentConfiguration -> AgentTaskResult
Public Function UpdateAgents (
agentManagedComputer As IList(Of AgentManagedComputer),
updateAgentConfiguration As UpdateAgentConfiguration
) As AgentTaskResult
Parameters
agentManagedComputer
Type: System.Collections.Generic.IList<AgentManagedComputer>The list of agent-managed computers to update.
updateAgentConfiguration
Type: Microsoft.EnterpriseManagement.Administration.UpdateAgentConfigurationInformation used to update the agents.
Return Value
Type: Microsoft.EnterpriseManagement.Administration.AgentTaskResult
Returns an AgentTaskResult object that contains the results of the update operation.
See Also
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top