Share via


ManagementServer.EndExecuteInstallAgents(IAsyncResult) Method

Definition

End execute install agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskResult ^ EndExecuteInstallAgents(IAsyncResult ^ asyncResult);
public Microsoft.EnterpriseManagement.Administration.AgentTaskResult EndExecuteInstallAgents (IAsyncResult asyncResult);
member this.EndExecuteInstallAgents : IAsyncResult -> Microsoft.EnterpriseManagement.Administration.AgentTaskResult
Public Function EndExecuteInstallAgents (asyncResult As IAsyncResult) As AgentTaskResult

Parameters

asyncResult
IAsyncResult

IAsyncResult returned from BeginExcuteInstallAgents.

Returns

Agent task result.

Remarks

The EndExecuteInstallAgents method is a blocking method that completes the asynchronous discovery request started in the BeginExecuteInstallAgents method.

Applies to

See also

  • <xref:Microsoft.EnterpriseManagement.Administration.ManagementServer.BeginExecuteInstallAgents(System.Collections.ObjectModel.ReadOnlyCollection%7bMicrosoft.EnterpriseManagement.Monitoring.CustomMonitoringObject%7d%2cSystem.Collections.ObjectModel.ReadOnlyCollection%7bMicrosoft.EnterpriseManagement.Administration.ManagementServer%7d%2cMicrosoft.EnterpriseManagement.Administration.InstallAgentConfiguration%2cSystem.AsyncCallback%2cSystem.Object)>