Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
---|
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) |
Syntax
Visual Basic |
---|
Public Function BeginExecuteInstallAgents ( _ customMonitoringObjects As IList(Of CustomMonitoringObject), _ failoverServers As IList(Of ManagementServer), _ installAgentConfiguration As InstallAgentConfiguration, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult |
C# |
---|
public IAsyncResult BeginExecuteInstallAgents ( IList<CustomMonitoringObject> customMonitoringObjects, IList<ManagementServer> failoverServers, InstallAgentConfiguration installAgentConfiguration, AsyncCallback callback, Object state ) |
C++ |
---|
public: IAsyncResult^ BeginExecuteInstallAgents ( IList<CustomMonitoringObject^>^ customMonitoringObjects, IList<ManagementServer^>^ failoverServers, InstallAgentConfiguration^ installAgentConfiguration, AsyncCallback^ callback, Object^ state ) |
J# |
---|
public IAsyncResult BeginExecuteInstallAgents ( IList<CustomMonitoringObject> customMonitoringObjects, IList<ManagementServer> failoverServers, InstallAgentConfiguration installAgentConfiguration, AsyncCallback callback, Object state ) |
JScript |
---|
public function BeginExecuteInstallAgents ( customMonitoringObjects : IList<CustomMonitoringObject>, failoverServers : IList<ManagementServer>, installAgentConfiguration : InstallAgentConfiguration, callback : AsyncCallback, state : Object ) : IAsyncResult |
Parameters
- customMonitoringObjects
-
The Windows-based computers on which to install agents.
- failoverServers
-
The collection of servers that can manage the agent if communication is lost with the agent's primary Management Server.
- installAgentConfiguration
-
Information used to configure the installations.
- callback
-
An AsyncCallback delegate that references a user-defined method to call when all installations are complete.
- state
-
A 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
An IAsyncResult instance that you can use to check the status of the asynchronous operation.Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.