Share via


ManagementServer.InstallAgents Method

Definition

Installs agents to the specified computers.

Overloads

InstallAgents(IList<CreatableEnterpriseManagementObject>, InstallAgentConfiguration)

Install agents.

InstallAgents(IList<CustomMonitoringObject>, InstallAgentConfiguration)
Obsolete.

Install agents.

InstallAgents(IList<CreatableEnterpriseManagementObject>, IList<ManagementServer>, InstallAgentConfiguration)

Install agents.

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

Install agents.

InstallAgents(IList<CreatableEnterpriseManagementObject>, InstallAgentConfiguration)

Install agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskResult ^ InstallAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Common::CreatableEnterpriseManagementObject ^> ^ instances, Microsoft::EnterpriseManagement::Administration::InstallAgentConfiguration ^ installAgentConfiguration);
public Microsoft.EnterpriseManagement.Administration.AgentTaskResult InstallAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Common.CreatableEnterpriseManagementObject> instances, Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration installAgentConfiguration);
member this.InstallAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Common.CreatableEnterpriseManagementObject> * Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration -> Microsoft.EnterpriseManagement.Administration.AgentTaskResult
Public Function InstallAgents (instances As IList(Of CreatableEnterpriseManagementObject), installAgentConfiguration As InstallAgentConfiguration) As AgentTaskResult

Parameters

installAgentConfiguration
InstallAgentConfiguration

Configuration.

Returns

Agent task result.

Applies to

InstallAgents(IList<CustomMonitoringObject>, InstallAgentConfiguration)

Caution

Use this.InstallAgents with CreatableEnterpriseManagementObject

Install agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskResult ^ InstallAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::CustomMonitoringObject ^> ^ customMonitoringObjects, Microsoft::EnterpriseManagement::Administration::InstallAgentConfiguration ^ installAgentConfiguration);
[System.Obsolete("Use this.InstallAgents with CreatableEnterpriseManagementObject")]
public Microsoft.EnterpriseManagement.Administration.AgentTaskResult InstallAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject> customMonitoringObjects, Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration installAgentConfiguration);
member this.InstallAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject> * Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration -> Microsoft.EnterpriseManagement.Administration.AgentTaskResult
Public Function InstallAgents (customMonitoringObjects As IList(Of CustomMonitoringObject), installAgentConfiguration As InstallAgentConfiguration) As AgentTaskResult

Parameters

customMonitoringObjects
IList<CustomMonitoringObject>

List of discovery Windows computers to install.

installAgentConfiguration
InstallAgentConfiguration

Configuration.

Returns

Agent task result.

Attributes

Applies to

InstallAgents(IList<CreatableEnterpriseManagementObject>, IList<ManagementServer>, InstallAgentConfiguration)

Install agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskResult ^ InstallAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Common::CreatableEnterpriseManagementObject ^> ^ instances, System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::ManagementServer ^> ^ failoverServers, Microsoft::EnterpriseManagement::Administration::InstallAgentConfiguration ^ installAgentConfiguration);
public Microsoft.EnterpriseManagement.Administration.AgentTaskResult InstallAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Common.CreatableEnterpriseManagementObject> instances, System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> failoverServers, Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration installAgentConfiguration);
member this.InstallAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Common.CreatableEnterpriseManagementObject> * System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> * Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration -> Microsoft.EnterpriseManagement.Administration.AgentTaskResult
Public Function InstallAgents (instances As IList(Of CreatableEnterpriseManagementObject), failoverServers As IList(Of ManagementServer), installAgentConfiguration As InstallAgentConfiguration) As AgentTaskResult

Parameters

failoverServers
IList<ManagementServer>

List of failover management servers.

installAgentConfiguration
InstallAgentConfiguration

Configuration.

Returns

Agent task result.

Applies to

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

Caution

Use this.InstallAgents with CreatableEnterpriseManagementObject

Install agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskResult ^ InstallAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::CustomMonitoringObject ^> ^ customMonitoringObjects, System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::ManagementServer ^> ^ failoverServers, Microsoft::EnterpriseManagement::Administration::InstallAgentConfiguration ^ installAgentConfiguration);
[System.Obsolete("Use this.InstallAgents with CreatableEnterpriseManagementObject")]
public Microsoft.EnterpriseManagement.Administration.AgentTaskResult InstallAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject> customMonitoringObjects, System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> failoverServers, Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration installAgentConfiguration);
member this.InstallAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject> * System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.ManagementServer> * Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration -> Microsoft.EnterpriseManagement.Administration.AgentTaskResult
Public Function InstallAgents (customMonitoringObjects As IList(Of CustomMonitoringObject), failoverServers As IList(Of ManagementServer), installAgentConfiguration As InstallAgentConfiguration) As AgentTaskResult

Parameters

customMonitoringObjects
IList<CustomMonitoringObject>

List of discovery Windows computers to install.

failoverServers
IList<ManagementServer>

List of failover management servers.

installAgentConfiguration
InstallAgentConfiguration

Configuration.

Returns

Agent task result.

Attributes

Applies to