ManagementServer.SubmitUpdateAgents Method (IList<AgentManagedComputer>, UpdateAgentConfiguration, MonitoringTaskStatusChangeCallback)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
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)
Syntax
[ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")]
public AgentTaskInformation SubmitUpdateAgents(
IList<AgentManagedComputer> agentManagedComputers,
UpdateAgentConfiguration updateAgentConfiguration,
MonitoringTaskStatusChangeCallback callback
)
public:
[ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")]
AgentTaskInformation^ SubmitUpdateAgents(
IList<AgentManagedComputer^>^ agentManagedComputers,
UpdateAgentConfiguration^ updateAgentConfiguration,
MonitoringTaskStatusChangeCallback^ callback
)
[<ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")>]
member SubmitUpdateAgents :
agentManagedComputers:IList<AgentManagedComputer> *
updateAgentConfiguration:UpdateAgentConfiguration *
callback:MonitoringTaskStatusChangeCallback -> AgentTaskInformation
<ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")>
Public Function SubmitUpdateAgents (
agentManagedComputers As IList(Of AgentManagedComputer),
updateAgentConfiguration As UpdateAgentConfiguration,
callback As MonitoringTaskStatusChangeCallback
) As AgentTaskInformation
Parameters
agentManagedComputers
Type: System.Collections.Generic.IList<AgentManagedComputer>The list of agent-managed computers to update.
updateAgentConfiguration
Type: Microsoft.EnterpriseManagement.Administration.UpdateAgentConfigurationInformation used to update the agents.
callback
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringTaskStatusChangeCallbackA MonitoringTaskStatusChangeCallback delegate that references a user-defined method to call when the status of any update in this batch changes.
Return Value
Type: Microsoft.EnterpriseManagement.Administration.AgentTaskInformation
Returns a AgentTaskInformation instance that allows you to access the update task IDs and their associated agent names.
See Also
SubmitUpdateAgents Overload
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top