Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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,
IList<ManagementServer> failoverServers,
InstallAgentConfiguration installAgentConfiguration,
AsyncCallback callback,
object state
)
public:
[ObsoleteAttribute("Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject")]
IAsyncResult^ BeginExecuteInstallAgents(
IList<CustomMonitoringObject^>^ customMonitoringObjects,
IList<ManagementServer^>^ failoverServers,
InstallAgentConfiguration^ installAgentConfiguration,
AsyncCallback^ callback,
Object^ state
)
[<ObsoleteAttribute("Use this.BeginExecuteInstallAgents with CreatableEnterpriseManagementObject")>]
member BeginExecuteInstallAgents :
customMonitoringObjects:IList<CustomMonitoringObject> *
failoverServers:IList<ManagementServer> *
installAgentConfiguration:InstallAgentConfiguration *
callback:AsyncCallback *
state:Object -> IAsyncResult
<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
Parameters
customMonitoringObjects
Type: System.Collections.Generic.IList<CustomMonitoringObject>The Windows-based computers on which to install agents.
failoverServers
Type: System.Collections.Generic.IList<ManagementServer>The collection of servers that can manage the agent if communication is lost with the agent's primary management server.
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