Compartilhar via


ManagementServer.RepairAgents Method (IList<AgentManagedComputer>, RepairAgentConfiguration)

 

Applies To: Operations Manager for System Center 2012

Repairs the specified agent-managed computers.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

public AgentTaskResult RepairAgents(
    IList<AgentManagedComputer> agentManagedComputer,
    RepairAgentConfiguration repairAgentConfiguration
)
public:
AgentTaskResult^ RepairAgents(
    IList<AgentManagedComputer^>^ agentManagedComputer,
    RepairAgentConfiguration^ repairAgentConfiguration
)
member RepairAgents : 
        agentManagedComputer:IList<AgentManagedComputer> *
        repairAgentConfiguration:RepairAgentConfiguration -> AgentTaskResult
Public Function RepairAgents (
    agentManagedComputer As IList(Of AgentManagedComputer),
    repairAgentConfiguration As RepairAgentConfiguration
) As AgentTaskResult

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.Administration.AgentTaskResult

Returns an AgentTaskResult object that contains the result of the repair operation.

See Also

ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top