ManagementServer.InstallAgents Method (IList, IList, InstallAgentConfiguration)

Updated: April 16, 2012

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)Dim instance As ManagementServer Dim customMonitoringObjects As IList(Of CustomMonitoringObject) Dim failoverServers As IList(Of ManagementServer) Dim installAgentConfiguration As InstallAgentConfiguration Dim returnValue As AgentTaskResult returnValue = instance.InstallAgents(customMonitoringObjects, failoverServers, installAgentConfiguration)<ObsoleteAttribute("Use this.InstallAgents with CreatableEnterpriseManagementObject")> _ Public Function InstallAgents ( _ customMonitoringObjects As IList(Of CustomMonitoringObject), _ failoverServers As IList(Of ManagementServer), _ installAgentConfiguration As InstallAgentConfiguration _ ) As AgentTaskResult[ObsoleteAttribute("Use this.InstallAgents with CreatableEnterpriseManagementObject")] public AgentTaskResult InstallAgents ( IList<CustomMonitoringObject> customMonitoringObjects, IList<ManagementServer> failoverServers, InstallAgentConfiguration installAgentConfiguration )[ObsoleteAttribute(L"Use this.InstallAgents with CreatableEnterpriseManagementObject")] public: AgentTaskResult^ InstallAgents ( IList<CustomMonitoringObject^>^ customMonitoringObjects, IList<ManagementServer^>^ failoverServers, InstallAgentConfiguration^ installAgentConfiguration )/** @attribute ObsoleteAttribute("Use this.InstallAgents with CreatableEnterpriseManagementObject") */ public AgentTaskResult InstallAgents ( IList<CustomMonitoringObject> customMonitoringObjects, IList<ManagementServer> failoverServers, InstallAgentConfiguration installAgentConfiguration )ObsoleteAttribute("Use this.InstallAgents with CreatableEnterpriseManagementObject") public function InstallAgents ( customMonitoringObjects : IList<CustomMonitoringObject>, failoverServers : IList<ManagementServer>, installAgentConfiguration : InstallAgentConfiguration ) : AgentTaskResultParameterscustomMonitoringObjectsThe computers on which to install agents.failoverServersThe servers that manage the agents if communication is lost with this server.installAgentConfigurationInformation that configures the agent installation.Return ValueReturns a AgentTaskResult object that contains the result of the installation operation.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms