ManagementServer.BeginExecuteInstallAgents Method (IList, IList, InstallAgentConfiguration, AsyncCallback, Object)

Updated: April 16, 2012

Starts 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)Dim instance As ManagementServer Dim customMonitoringObjects As IList(Of CustomMonitoringObject) Dim failoverServers As IList(Of ManagementServer) Dim installAgentConfiguration As InstallAgentConfiguration Dim callback As AsyncCallback Dim state As Object Dim returnValue As IAsyncResult returnValue = instance.BeginExecuteInstallAgents(customMonitoringObjects, failoverServers, installAgentConfiguration, callback, state)<ObsoleteAttribute("Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject")> _ Public Function BeginExecuteInstallAgents ( _ customMonitoringObjects As IList(Of CustomMonitoringObject), _ failoverServers As IList(Of ManagementServer), _ installAgentConfiguration As InstallAgentConfiguration, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult[ObsoleteAttribute("Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject")] public IAsyncResult BeginExecuteInstallAgents ( IList<CustomMonitoringObject> customMonitoringObjects, IList<ManagementServer> failoverServers, InstallAgentConfiguration installAgentConfiguration, AsyncCallback callback, Object state )[ObsoleteAttribute(L"Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject")] public: IAsyncResult^ BeginExecuteInstallAgents ( IList<CustomMonitoringObject^>^ customMonitoringObjects, IList<ManagementServer^>^ failoverServers, InstallAgentConfiguration^ installAgentConfiguration, AsyncCallback^ callback, Object^ state )/** @attribute ObsoleteAttribute("Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject") */ public IAsyncResult BeginExecuteInstallAgents ( IList<CustomMonitoringObject> customMonitoringObjects, IList<ManagementServer> failoverServers, InstallAgentConfiguration installAgentConfiguration, AsyncCallback callback, Object state )ObsoleteAttribute("Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject") public function BeginExecuteInstallAgents ( customMonitoringObjects : IList<CustomMonitoringObject>, failoverServers : IList<ManagementServer>, installAgentConfiguration : InstallAgentConfiguration, callback : AsyncCallback, state : Object ) : IAsyncResultParameterscustomMonitoringObjectsThe Windows-based computers on which to install agents.failoverServersThe collection of servers that can manage the agent if communication is lost with the agent's primary management server.installAgentConfigurationInformation used to configure the installations.callbackAn AsyncCallback delegate that references a user-defined method to call when all installations are complete.stateA 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 ValueReturns a IAsyncResult instance that you can use to check the status of the asynchronous operation.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms