Compartir a través de


ManagementServer.InstallAgents Method (IList<CustomMonitoringObject>, 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.

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