Starts an asynchronous operation to repair
agents 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)Dim instance As ManagementServer Dim agentManagedComputers As IList(Of AgentManagedComputer) Dim repairAgentConfiguration As RepairAgentConfiguration Dim callback As MonitoringTaskStatusChangeCallback Dim returnValue As AgentTaskInformation returnValue = instance.SubmitRepairAgents(agentManagedComputers, repairAgentConfiguration, callback)<ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")> _ Public Function SubmitRepairAgents ( _ agentManagedComputers As IList(Of AgentManagedComputer), _ repairAgentConfiguration As RepairAgentConfiguration, _ callback As MonitoringTaskStatusChangeCallback _ ) As AgentTaskInformation[ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")] public AgentTaskInformation SubmitRepairAgents ( IList<AgentManagedComputer> agentManagedComputers, RepairAgentConfiguration repairAgentConfiguration, MonitoringTaskStatusChangeCallback callback )[ObsoleteAttribute(L"Use this.SubmitRepairAgents with TaskStatusChangeCallback")] public: AgentTaskInformation^ SubmitRepairAgents ( IList<AgentManagedComputer^>^ agentManagedComputers, RepairAgentConfiguration^ repairAgentConfiguration, MonitoringTaskStatusChangeCallback^ callback )/** @attribute ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback") */ public AgentTaskInformation SubmitRepairAgents ( IList<AgentManagedComputer> agentManagedComputers, RepairAgentConfiguration repairAgentConfiguration, MonitoringTaskStatusChangeCallback callback )ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback") public function SubmitRepairAgents ( agentManagedComputers : IList<AgentManagedComputer>, repairAgentConfiguration : RepairAgentConfiguration, callback : MonitoringTaskStatusChangeCallback ) : AgentTaskInformationParametersagentManagedComputersThe agent-managed computers on which to repair agents.repairAgentConfigurationInformation used to configure the repairs.callbackA MonitoringTaskStatusChangeCallback delegate that references a user-defined method to call when the status of any installation task in this batch changes.Return ValueReturns a AgentTaskInformation instance that allows you to access the repair task IDs and their associated agent names.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ManagementServer Dim agentManagedComputers As IList(Of AgentManagedComputer) Dim repairAgentConfiguration As RepairAgentConfiguration Dim callback As MonitoringTaskStatusChangeCallback Dim returnValue As AgentTaskInformation returnValue = instance.SubmitRepairAgents(agentManagedComputers, repairAgentConfiguration, callback)<ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")> _ Public Function SubmitRepairAgents ( _ agentManagedComputers As IList(Of AgentManagedComputer), _ repairAgentConfiguration As RepairAgentConfiguration, _ callback As MonitoringTaskStatusChangeCallback _ ) As AgentTaskInformation[ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")] public AgentTaskInformation SubmitRepairAgents ( IList<AgentManagedComputer> agentManagedComputers, RepairAgentConfiguration repairAgentConfiguration, MonitoringTaskStatusChangeCallback callback )[ObsoleteAttribute(L"Use this.SubmitRepairAgents with TaskStatusChangeCallback")] public: AgentTaskInformation^ SubmitRepairAgents ( IList<AgentManagedComputer^>^ agentManagedComputers, RepairAgentConfiguration^ repairAgentConfiguration, MonitoringTaskStatusChangeCallback^ callback )/** @attribute ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback") */ public AgentTaskInformation SubmitRepairAgents ( IList<AgentManagedComputer> agentManagedComputers, RepairAgentConfiguration repairAgentConfiguration, MonitoringTaskStatusChangeCallback callback )ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback") public function SubmitRepairAgents ( agentManagedComputers : IList<AgentManagedComputer>, repairAgentConfiguration : RepairAgentConfiguration, callback : MonitoringTaskStatusChangeCallback ) : AgentTaskInformationParametersagentManagedComputersThe agent-managed computers on which to repair agents.repairAgentConfigurationInformation used to configure the repairs.callbackA MonitoringTaskStatusChangeCallback delegate that references a user-defined method to call when the status of any installation task in this batch changes.Return ValueReturns a AgentTaskInformation instance that allows you to access the repair task IDs and their associated agent names.
Any public static
(Shared in Visual Basic) members of this type are thread safe. Any
instance members are not guaranteed to be thread safe.