Share via


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

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