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
- agentManagedComputer 
 Type: System.Collections.Generic.IList<AgentManagedComputer>- The computer whose agents need repair. 
- repairAgentConfiguration 
 Type: Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration- Information that configures the agent repair. 
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