ManagementServer.SubmitRepairAgents Method (IList<PartialAgentManagedComputer>, RepairAgentConfiguration, MonitoringTaskStatusChangeCallback)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Starts an asynchronous operation to repair partial agent-managed computers on a specified collection of managed computers and receives notification when the status of any repair changes.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")]
public AgentTaskInformation SubmitRepairAgents(
IList<PartialAgentManagedComputer> agentManagedComputers,
RepairAgentConfiguration repairAgentConfiguration,
MonitoringTaskStatusChangeCallback callback
)
public:
[ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")]
AgentTaskInformation^ SubmitRepairAgents(
IList<PartialAgentManagedComputer^>^ agentManagedComputers,
RepairAgentConfiguration^ repairAgentConfiguration,
MonitoringTaskStatusChangeCallback^ callback
)
[<ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")>]
member SubmitRepairAgents :
agentManagedComputers:IList<PartialAgentManagedComputer> *
repairAgentConfiguration:RepairAgentConfiguration *
callback:MonitoringTaskStatusChangeCallback -> AgentTaskInformation
<ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")>
Public Function SubmitRepairAgents (
agentManagedComputers As IList(Of PartialAgentManagedComputer),
repairAgentConfiguration As RepairAgentConfiguration,
callback As MonitoringTaskStatusChangeCallback
) As AgentTaskInformation
Parameters
agentManagedComputers
Type: System.Collections.Generic.IList<PartialAgentManagedComputer>The list of partial agent-managed computers to repair.
repairAgentConfiguration
Type: Microsoft.EnterpriseManagement.Administration.RepairAgentConfigurationInformation used to repair the agents.
callback
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallbackA MonitoringTaskStatusChangeCallback delegate that references a user-defined method to call when the status of any repair in this batch changes.
Return Value
Type: Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Returns a AgentTaskInformation instance that allows you to access the repair task IDs and their associated agent names.
See Also
SubmitRepairAgents Overload
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top