Udostępnij za pośrednictwem


ManagementServer.BeginExecuteRepairAgents Method

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

Starts an asynchronous operation to repair agents on a specified collection of managed computers.

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

Usage

'Usage
Dim instance As ManagementServer
Dim agentManagedComputers As IList(Of AgentManagedComputer)
Dim repairAgentConfiguration As RepairAgentConfiguration
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginExecuteRepairAgents(agentManagedComputers, repairAgentConfiguration, callback, state)

Syntax

'Declaration
Public Function BeginExecuteRepairAgents ( _
    agentManagedComputers As IList(Of AgentManagedComputer), _
    repairAgentConfiguration As RepairAgentConfiguration, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
public IAsyncResult BeginExecuteRepairAgents (
    IList<AgentManagedComputer> agentManagedComputers,
    RepairAgentConfiguration repairAgentConfiguration,
    AsyncCallback callback,
    Object state
)
public:
IAsyncResult^ BeginExecuteRepairAgents (
    IList<AgentManagedComputer^>^ agentManagedComputers, 
    RepairAgentConfiguration^ repairAgentConfiguration, 
    AsyncCallback^ callback, 
    Object^ state
)
public IAsyncResult BeginExecuteRepairAgents (
    IList<AgentManagedComputer> agentManagedComputers, 
    RepairAgentConfiguration repairAgentConfiguration, 
    AsyncCallback callback, 
    Object state
)
public function BeginExecuteRepairAgents (
    agentManagedComputers : IList<AgentManagedComputer>, 
    repairAgentConfiguration : RepairAgentConfiguration, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

  • agentManagedComputers
    The agent-managed computers on which to repair agents.
  • repairAgentConfiguration
    Information used to configure the repairs.
  • callback
    An AsyncCallback delegate that references a user-defined method to call when all repairs are complete.
  • state
    A user-defined object that you can use to pass information about the state of the asynchronous operation to the method specified in the callback parameter.

Return Value

Returns an IAsyncResult instance that you can use to check the status of the asynchronous 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