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
asyncResult
Type: System.IAsyncResultAn IAsyncResult instance that stores state information and any user-defined data for this asynchronous operation.
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