次の方法で共有


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

  • state
    Type: System.Object

    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

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