次の方法で共有


ManagementServer.SubmitInstallAgents Method (IList, InstallAgentConfiguration, TaskStatusChangeCallback)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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 installAgentConfiguration As InstallAgentConfiguration
Dim callback As TaskStatusChangeCallback
Dim returnValue As AgentTaskInformation

returnValue = instance.SubmitInstallAgents(customMonitoringObjects, installAgentConfiguration, callback)

Syntax

'Declaration
<ObsoleteAttribute("Use this.SubmitInstallAgents with CreatableEnterpriseManagementObject and TaskStatusChangeCallback")> _
Public Function SubmitInstallAgents ( _
    customMonitoringObjects As IList(Of CustomMonitoringObject), _
    installAgentConfiguration As InstallAgentConfiguration, _
    callback As TaskStatusChangeCallback _
) As AgentTaskInformation
[ObsoleteAttribute("Use this.SubmitInstallAgents with CreatableEnterpriseManagementObject and TaskStatusChangeCallback")] 
public AgentTaskInformation SubmitInstallAgents (
    IList<CustomMonitoringObject> customMonitoringObjects,
    InstallAgentConfiguration installAgentConfiguration,
    TaskStatusChangeCallback callback
)
[ObsoleteAttribute(L"Use this.SubmitInstallAgents with CreatableEnterpriseManagementObject and TaskStatusChangeCallback")] 
public:
AgentTaskInformation^ SubmitInstallAgents (
    IList<CustomMonitoringObject^>^ customMonitoringObjects, 
    InstallAgentConfiguration^ installAgentConfiguration, 
    TaskStatusChangeCallback^ callback
)
/** @attribute ObsoleteAttribute("Use this.SubmitInstallAgents with CreatableEnterpriseManagementObject and TaskStatusChangeCallback") */ 
public AgentTaskInformation SubmitInstallAgents (
    IList<CustomMonitoringObject> customMonitoringObjects, 
    InstallAgentConfiguration installAgentConfiguration, 
    TaskStatusChangeCallback callback
)
ObsoleteAttribute("Use this.SubmitInstallAgents with CreatableEnterpriseManagementObject and TaskStatusChangeCallback") 
public function SubmitInstallAgents (
    customMonitoringObjects : IList<CustomMonitoringObject>, 
    installAgentConfiguration : InstallAgentConfiguration, 
    callback : TaskStatusChangeCallback
) : AgentTaskInformation

Parameters

  • customMonitoringObjects
  • installAgentConfiguration
  • callback

Return Value

Returns AgentTaskInformation.

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