Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
---|
Dim instance As ManagementServer Dim agentManagedComputer As IList(Of AgentManagedComputer) Dim repairAgentConfiguration As RepairAgentConfiguration Dim returnValue As AgentTaskResult returnValue = instance.RepairAgents(agentManagedComputer, repairAgentConfiguration) |
Syntax
Visual Basic |
---|
Public Function RepairAgents ( _ agentManagedComputer As IList(Of AgentManagedComputer), _ repairAgentConfiguration As RepairAgentConfiguration _ ) As AgentTaskResult |
C# |
---|
public AgentTaskResult RepairAgents ( IList<AgentManagedComputer> agentManagedComputer, RepairAgentConfiguration repairAgentConfiguration ) |
C++ |
---|
public: AgentTaskResult^ RepairAgents ( IList<AgentManagedComputer^>^ agentManagedComputer, RepairAgentConfiguration^ repairAgentConfiguration ) |
J# |
---|
public AgentTaskResult RepairAgents ( IList<AgentManagedComputer> agentManagedComputer, RepairAgentConfiguration repairAgentConfiguration ) |
JScript |
---|
public function RepairAgents ( agentManagedComputer : IList<AgentManagedComputer>, repairAgentConfiguration : RepairAgentConfiguration ) : AgentTaskResult |
Parameters
- agentManagedComputer
-
The computer whose agents need repair.
- repairAgentConfiguration
-
Information that configures the agent repair.
Return Value
An AgentTaskResult that contains the result of the repair operation.Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.