Share via


ManagementServer.EndExecuteRepairAgents Method (IAsyncResult)

 

Applies To: Operations Manager for System Center 2012

Finishes an asynchronous operation to repair agents on managed computers.

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

Syntax

public AgentTaskResult EndExecuteRepairAgents(
    IAsyncResult asyncResult
)
public:
AgentTaskResult^ EndExecuteRepairAgents(
    IAsyncResult^ asyncResult
)
member EndExecuteRepairAgents : 
        asyncResult:IAsyncResult -> AgentTaskResult
Public Function EndExecuteRepairAgents (
    asyncResult As IAsyncResult
) As AgentTaskResult

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.Administration.AgentTaskResult

Returns an AgentTaskResult object that contains the results of the repair operation.

Remarks

The EndExecuteRepairAgents method is a blocking method that completes the asynchronous discovery request started in the BeginExecuteRepairAgents method.

See Also

ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top