ManagementServer.BeginExecuteInstallAgents Method (IList<CustomMonitoringObject>, InstallAgentConfiguration, AsyncCallback, Object)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
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)
Syntax
[ObsoleteAttribute("Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject")]
public IAsyncResult BeginExecuteInstallAgents(
IList<CustomMonitoringObject> customMonitoringObjects,
InstallAgentConfiguration installAgentConfiguration,
AsyncCallback callback,
object state
)
public:
[ObsoleteAttribute("Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject")]
IAsyncResult^ BeginExecuteInstallAgents(
IList<CustomMonitoringObject^>^ customMonitoringObjects,
InstallAgentConfiguration^ installAgentConfiguration,
AsyncCallback^ callback,
Object^ state
)
[<ObsoleteAttribute("Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject")>]
member BeginExecuteInstallAgents :
customMonitoringObjects:IList<CustomMonitoringObject> *
installAgentConfiguration:InstallAgentConfiguration *
callback:AsyncCallback *
state:Object -> IAsyncResult
<ObsoleteAttribute("Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject")>
Public Function BeginExecuteInstallAgents (
customMonitoringObjects As IList(Of CustomMonitoringObject),
installAgentConfiguration As InstallAgentConfiguration,
callback As AsyncCallback,
state As Object
) As IAsyncResult
Parameters
customMonitoringObjects
Type: System.Collections.Generic.IList<CustomMonitoringObject>The Windows-based computers on which to install agents.
installAgentConfiguration
Type: Microsoft.EnterpriseManagement.Administration.InstallAgentConfigurationInformation used to configure the installations.
callback
Type: System.AsyncCallbackAn AsyncCallback delegate that references a user-defined method to call when all installations are complete.
state
Type: System.ObjectA 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 Value
Type: System.IAsyncResult
Returns a IAsyncResult instance that you can use to check the status of the asynchronous operation.
See Also
BeginExecuteInstallAgents Overload
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top