ManagementServer.EndExecuteInstallAgents Method (IAsyncResult)

 

Applies To: Operations Manager for System Center 2012

Finishes an asynchronous operation to install agents on a specified collection of Windows-based computers.

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

Syntax

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

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.Administration.AgentTaskResult

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

Remarks

The EndExecuteInstallAgents method is a blocking method that completes the asynchronous discovery request started in the M:Microsoft.EnterpriseManagement.Administration.ManagementServer.BeginExecuteInstallAgents(System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject},System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Administration.ManagementServer},Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration,System.AsyncCallback,System.Object) method.

See Also

M:Microsoft.EnterpriseManagement.Administration.ManagementServer.BeginExecuteInstallAgents(System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject},System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Administration.ManagementServer},Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration,System.AsyncCallback,System.Object)
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top