次の方法で共有


ManagementServer.InstallAgents Method (IList<CustomMonitoringObject>, IList<ManagementServer>, InstallAgentConfiguration)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Installs agents to the specified computers by using the specified configuration and failover servers.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Use this.InstallAgents with CreatableEnterpriseManagementObject")]
public AgentTaskResult InstallAgents(
    IList<CustomMonitoringObject> customMonitoringObjects,
    IList<ManagementServer> failoverServers,
    InstallAgentConfiguration installAgentConfiguration
)
public:
[ObsoleteAttribute("Use this.InstallAgents with CreatableEnterpriseManagementObject")]
AgentTaskResult^ InstallAgents(
    IList<CustomMonitoringObject^>^ customMonitoringObjects,
    IList<ManagementServer^>^ failoverServers,
    InstallAgentConfiguration^ installAgentConfiguration
)
[<ObsoleteAttribute("Use this.InstallAgents with CreatableEnterpriseManagementObject")>]
member InstallAgents : 
        customMonitoringObjects:IList<CustomMonitoringObject> *
        failoverServers:IList<ManagementServer> *
        installAgentConfiguration:InstallAgentConfiguration -> AgentTaskResult
<ObsoleteAttribute("Use this.InstallAgents with CreatableEnterpriseManagementObject")>
Public Function InstallAgents (
    customMonitoringObjects As IList(Of CustomMonitoringObject),
    failoverServers As IList(Of ManagementServer),
    installAgentConfiguration As InstallAgentConfiguration
) As AgentTaskResult

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.Administration.AgentTaskResult

Returns a AgentTaskResult object that contains the result of the installation operation.

See Also

InstallAgents Overload
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top