Share via


ManagementServer.SubmitRepairAgents Method

Definition

Starts an asynchronous operation to repair agents on a specified collection of managed computers and receives notification when the status of any repair changes.

Overloads

SubmitRepairAgents(IList<AgentManagedComputer>, RepairAgentConfiguration, MonitoringTaskStatusChangeCallback)
Obsolete.

Submit repair agents.

SubmitRepairAgents(IList<AgentManagedComputer>, RepairAgentConfiguration, TaskStatusChangeCallback)

Submit repair agents.

SubmitRepairAgents(IList<PartialAgentManagedComputer>, RepairAgentConfiguration, MonitoringTaskStatusChangeCallback)
Obsolete.

Submit repair agents.

SubmitRepairAgents(IList<PartialAgentManagedComputer>, RepairAgentConfiguration, TaskStatusChangeCallback)

Submit repair agents.

SubmitRepairAgents(IList<MonitoringObject>, RepairAgentConfiguration, MonitoringTaskStatusChangeCallback)
Obsolete.

This method submits a repair action on the agents that are referred to by the associated useractionmanagers.

SubmitRepairAgents(IList<MonitoringObject>, RepairAgentConfiguration, TaskStatusChangeCallback)

This method submits a repair action on the agents that are referred to by the associated useractionmanagers.

SubmitRepairAgents(IList<AgentManagedComputer>, RepairAgentConfiguration, MonitoringTaskStatusChangeCallback)

Caution

Use this.SubmitRepairAgents with TaskStatusChangeCallback

Submit repair agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskInformation ^ SubmitRepairAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::AgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::RepairAgentConfiguration ^ repairAgentConfiguration, Microsoft::EnterpriseManagement::Monitoring::MonitoringTaskStatusChangeCallback ^ callback);
[System.Obsolete("Use this.SubmitRepairAgents with TaskStatusChangeCallback")]
public Microsoft.EnterpriseManagement.Administration.AgentTaskInformation SubmitRepairAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration repairAgentConfiguration, Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallback callback);
member this.SubmitRepairAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration * Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallback -> Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Public Function SubmitRepairAgents (agentManagedComputers As IList(Of AgentManagedComputer), repairAgentConfiguration As RepairAgentConfiguration, callback As MonitoringTaskStatusChangeCallback) As AgentTaskInformation

Parameters

agentManagedComputers
IList<AgentManagedComputer>

List of agent managed computers to repair.

repairAgentConfiguration
RepairAgentConfiguration

Configuration.

Returns

Agent task information.

Attributes

Applies to

SubmitRepairAgents(IList<AgentManagedComputer>, RepairAgentConfiguration, TaskStatusChangeCallback)

Submit repair agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskInformation ^ SubmitRepairAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::AgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::RepairAgentConfiguration ^ repairAgentConfiguration, Microsoft::EnterpriseManagement::Runtime::TaskStatusChangeCallback ^ callback);
public Microsoft.EnterpriseManagement.Administration.AgentTaskInformation SubmitRepairAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration repairAgentConfiguration, Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback callback);
member this.SubmitRepairAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.AgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration * Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback -> Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Public Function SubmitRepairAgents (agentManagedComputers As IList(Of AgentManagedComputer), repairAgentConfiguration As RepairAgentConfiguration, callback As TaskStatusChangeCallback) As AgentTaskInformation

Parameters

agentManagedComputers
IList<AgentManagedComputer>

List of agent managed computers to repair.

repairAgentConfiguration
RepairAgentConfiguration

Configuration.

callback
TaskStatusChangeCallback

Callback.

Returns

Agent task information.

Applies to

SubmitRepairAgents(IList<PartialAgentManagedComputer>, RepairAgentConfiguration, MonitoringTaskStatusChangeCallback)

Caution

Use this.SubmitRepairAgents with TaskStatusChangeCallback

Submit repair agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskInformation ^ SubmitRepairAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::PartialAgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::RepairAgentConfiguration ^ repairAgentConfiguration, Microsoft::EnterpriseManagement::Monitoring::MonitoringTaskStatusChangeCallback ^ callback);
[System.Obsolete("Use this.SubmitRepairAgents with TaskStatusChangeCallback")]
public Microsoft.EnterpriseManagement.Administration.AgentTaskInformation SubmitRepairAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration repairAgentConfiguration, Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallback callback);
member this.SubmitRepairAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration * Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallback -> Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Public Function SubmitRepairAgents (agentManagedComputers As IList(Of PartialAgentManagedComputer), repairAgentConfiguration As RepairAgentConfiguration, callback As MonitoringTaskStatusChangeCallback) As AgentTaskInformation

Parameters

agentManagedComputers
IList<PartialAgentManagedComputer>

List of agent managed computers to repair.

repairAgentConfiguration
RepairAgentConfiguration

Configuration.

Returns

Agent task information.

Attributes

Applies to

SubmitRepairAgents(IList<PartialAgentManagedComputer>, RepairAgentConfiguration, TaskStatusChangeCallback)

Submit repair agents.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskInformation ^ SubmitRepairAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Administration::PartialAgentManagedComputer ^> ^ agentManagedComputers, Microsoft::EnterpriseManagement::Administration::RepairAgentConfiguration ^ repairAgentConfiguration, Microsoft::EnterpriseManagement::Runtime::TaskStatusChangeCallback ^ callback);
public Microsoft.EnterpriseManagement.Administration.AgentTaskInformation SubmitRepairAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> agentManagedComputers, Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration repairAgentConfiguration, Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback callback);
member this.SubmitRepairAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Administration.PartialAgentManagedComputer> * Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration * Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback -> Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Public Function SubmitRepairAgents (agentManagedComputers As IList(Of PartialAgentManagedComputer), repairAgentConfiguration As RepairAgentConfiguration, callback As TaskStatusChangeCallback) As AgentTaskInformation

Parameters

agentManagedComputers
IList<PartialAgentManagedComputer>

List of agent managed computers to repair.

repairAgentConfiguration
RepairAgentConfiguration

Configuration.

callback
TaskStatusChangeCallback

Callback.

Returns

Agent task information.

Applies to

SubmitRepairAgents(IList<MonitoringObject>, RepairAgentConfiguration, MonitoringTaskStatusChangeCallback)

Caution

Use this.SubmitRepairAgents with TaskStatusChangeCallback

This method submits a repair action on the agents that are referred to by the associated useractionmanagers.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskInformation ^ SubmitRepairAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::MonitoringObject ^> ^ userActionManagers, Microsoft::EnterpriseManagement::Administration::RepairAgentConfiguration ^ repairAgentConfiguration, Microsoft::EnterpriseManagement::Monitoring::MonitoringTaskStatusChangeCallback ^ callback);
[System.Obsolete("Use this.SubmitRepairAgents with TaskStatusChangeCallback")]
public Microsoft.EnterpriseManagement.Administration.AgentTaskInformation SubmitRepairAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringObject> userActionManagers, Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration repairAgentConfiguration, Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallback callback);
member this.SubmitRepairAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringObject> * Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration * Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallback -> Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Public Function SubmitRepairAgents (userActionManagers As IList(Of MonitoringObject), repairAgentConfiguration As RepairAgentConfiguration, callback As MonitoringTaskStatusChangeCallback) As AgentTaskInformation

Parameters

userActionManagers
IList<MonitoringObject>

MonitoringObjects that must be of type UserActionManager.

repairAgentConfiguration
RepairAgentConfiguration

Configuration for repair.

callback
MonitoringTaskStatusChangeCallback

Callback to get status.

Returns

Attributes

Applies to

SubmitRepairAgents(IList<MonitoringObject>, RepairAgentConfiguration, TaskStatusChangeCallback)

This method submits a repair action on the agents that are referred to by the associated useractionmanagers.

public:
 Microsoft::EnterpriseManagement::Administration::AgentTaskInformation ^ SubmitRepairAgents(System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::MonitoringObject ^> ^ userActionManagers, Microsoft::EnterpriseManagement::Administration::RepairAgentConfiguration ^ repairAgentConfiguration, Microsoft::EnterpriseManagement::Runtime::TaskStatusChangeCallback ^ callback);
public Microsoft.EnterpriseManagement.Administration.AgentTaskInformation SubmitRepairAgents (System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringObject> userActionManagers, Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration repairAgentConfiguration, Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback callback);
member this.SubmitRepairAgents : System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringObject> * Microsoft.EnterpriseManagement.Administration.RepairAgentConfiguration * Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback -> Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Public Function SubmitRepairAgents (userActionManagers As IList(Of MonitoringObject), repairAgentConfiguration As RepairAgentConfiguration, callback As TaskStatusChangeCallback) As AgentTaskInformation

Parameters

userActionManagers
IList<MonitoringObject>

MonitoringObjects that must be of type UserActionManager.

repairAgentConfiguration
RepairAgentConfiguration

Configuration for repair.

callback
TaskStatusChangeCallback

Callback to get status.

Returns

Applies to