ManagementServer.BeginExecuteInstallAgents Method (IList, IList, InstallAgentConfiguration, AsyncCallback, Object)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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)
Usage
'Usage
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
'Declaration
<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
) : 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
Returns a 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.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
ManagementServer Class
ManagementServer Members
Microsoft.EnterpriseManagement.Administration Namespace