Starts an asynchronous operation to update
agents on a specified collection of managed computers in accordance
with the specified update configuration and receives notification
when the status of any update 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 updateAgentConfiguration As UpdateAgentConfiguration Dim callback As MonitoringTaskStatusChangeCallback Dim returnValue As AgentTaskInformation returnValue = instance.SubmitUpdateAgents(agentManagedComputers, updateAgentConfiguration, callback)<ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")> _ Public Function SubmitUpdateAgents ( _ agentManagedComputers As IList(Of AgentManagedComputer), _ updateAgentConfiguration As UpdateAgentConfiguration, _ callback As MonitoringTaskStatusChangeCallback _ ) As AgentTaskInformation[ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")] public AgentTaskInformation SubmitUpdateAgents ( IList<AgentManagedComputer> agentManagedComputers, UpdateAgentConfiguration updateAgentConfiguration, MonitoringTaskStatusChangeCallback callback )[ObsoleteAttribute(L"Use this.SubmitUpdateAgents with TaskStatusChangeCallback")] public: AgentTaskInformation^ SubmitUpdateAgents ( IList<AgentManagedComputer^>^ agentManagedComputers, UpdateAgentConfiguration^ updateAgentConfiguration, MonitoringTaskStatusChangeCallback^ callback )/** @attribute ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback") */ public AgentTaskInformation SubmitUpdateAgents ( IList<AgentManagedComputer> agentManagedComputers, UpdateAgentConfiguration updateAgentConfiguration, MonitoringTaskStatusChangeCallback callback )ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback") public function SubmitUpdateAgents ( agentManagedComputers : IList<AgentManagedComputer>, updateAgentConfiguration : UpdateAgentConfiguration, callback : MonitoringTaskStatusChangeCallback ) : AgentTaskInformationParametersagentManagedComputersThe list of agent-managed computers to update.updateAgentConfigurationInformation used to update the agents.callbackA MonitoringTaskStatusChangeCallback delegate that references a user-defined method to call when the status of any update in this batch changes.Return ValueReturns a AgentTaskInformation instance that allows you to access the update 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 updateAgentConfiguration As UpdateAgentConfiguration Dim callback As MonitoringTaskStatusChangeCallback Dim returnValue As AgentTaskInformation returnValue = instance.SubmitUpdateAgents(agentManagedComputers, updateAgentConfiguration, callback)<ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")> _ Public Function SubmitUpdateAgents ( _ agentManagedComputers As IList(Of AgentManagedComputer), _ updateAgentConfiguration As UpdateAgentConfiguration, _ callback As MonitoringTaskStatusChangeCallback _ ) As AgentTaskInformation[ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")] public AgentTaskInformation SubmitUpdateAgents ( IList<AgentManagedComputer> agentManagedComputers, UpdateAgentConfiguration updateAgentConfiguration, MonitoringTaskStatusChangeCallback callback )[ObsoleteAttribute(L"Use this.SubmitUpdateAgents with TaskStatusChangeCallback")] public: AgentTaskInformation^ SubmitUpdateAgents ( IList<AgentManagedComputer^>^ agentManagedComputers, UpdateAgentConfiguration^ updateAgentConfiguration, MonitoringTaskStatusChangeCallback^ callback )/** @attribute ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback") */ public AgentTaskInformation SubmitUpdateAgents ( IList<AgentManagedComputer> agentManagedComputers, UpdateAgentConfiguration updateAgentConfiguration, MonitoringTaskStatusChangeCallback callback )ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback") public function SubmitUpdateAgents ( agentManagedComputers : IList<AgentManagedComputer>, updateAgentConfiguration : UpdateAgentConfiguration, callback : MonitoringTaskStatusChangeCallback ) : AgentTaskInformationParametersagentManagedComputersThe list of agent-managed computers to update.updateAgentConfigurationInformation used to update the agents.callbackA MonitoringTaskStatusChangeCallback delegate that references a user-defined method to call when the status of any update in this batch changes.Return ValueReturns a AgentTaskInformation instance that allows you to access the update 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.