ManagementServer.RepairAgents Method

Updated: April 16, 2012

Repairs the specified 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 repairAgentConfiguration As RepairAgentConfiguration Dim returnValue As AgentTaskResult returnValue = instance.RepairAgents(agentManagedComputer, repairAgentConfiguration)Public Function RepairAgents ( _ agentManagedComputer As IList(Of AgentManagedComputer), _ repairAgentConfiguration As RepairAgentConfiguration _ ) As AgentTaskResultpublic AgentTaskResult RepairAgents ( IList<AgentManagedComputer> agentManagedComputer, RepairAgentConfiguration repairAgentConfiguration )public: AgentTaskResult^ RepairAgents ( IList<AgentManagedComputer^>^ agentManagedComputer, RepairAgentConfiguration^ repairAgentConfiguration )public AgentTaskResult RepairAgents ( IList<AgentManagedComputer> agentManagedComputer, RepairAgentConfiguration repairAgentConfiguration )public function RepairAgents ( agentManagedComputer : IList<AgentManagedComputer>, repairAgentConfiguration : RepairAgentConfiguration ) : AgentTaskResultParametersagentManagedComputerThe computer whose agents need repair.repairAgentConfigurationInformation that configures the agent repair.Return ValueReturns an AgentTaskResult object that contains the result of the repair 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