Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
customMonitoringObjects
Type: System.Collections.Generic.IList<CustomMonitoringObject>The computers on which to install agents.
failoverServers
Type: System.Collections.Generic.IList<ManagementServer>The servers that manage the agents if communication is lost with this server.
installAgentConfiguration
Type: Microsoft.EnterpriseManagement.Administration.InstallAgentConfigurationInformation that configures the agent installation.
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