次の方法で共有


ManagementServer.RepairAgents Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Repairs the specified agent-managed computers.

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

Usage

'Usage
Dim instance As ManagementServer
Dim agentManagedComputer As IList(Of AgentManagedComputer)
Dim repairAgentConfiguration As RepairAgentConfiguration
Dim returnValue As AgentTaskResult

returnValue = instance.RepairAgents(agentManagedComputer, repairAgentConfiguration)

Syntax

'Declaration
Public Function RepairAgents ( _
    agentManagedComputer As IList(Of AgentManagedComputer), _
    repairAgentConfiguration As RepairAgentConfiguration _
) As AgentTaskResult
public 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
) : AgentTaskResult

Parameters

  • agentManagedComputer
    The computer whose agents need repair.
  • repairAgentConfiguration
    Information that configures the agent repair.

Return Value

Returns an AgentTaskResult object 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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

ManagementServer Class
ManagementServer Members
Microsoft.EnterpriseManagement.Administration Namespace