ManagementServer.SubmitUpdateAgents Method (IList<MonitoringObject>, UpdateAgentConfiguration, MonitoringTaskStatusChangeCallback)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Starts an asynchronous operation to update agents as specified by user action managers 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<MonitoringObject> userActionManagers,
UpdateAgentConfiguration updateAgentConfiguration,
MonitoringTaskStatusChangeCallback callback
)
public:
[ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")]
AgentTaskInformation^ SubmitUpdateAgents(
IList<MonitoringObject^>^ userActionManagers,
UpdateAgentConfiguration^ updateAgentConfiguration,
MonitoringTaskStatusChangeCallback^ callback
)
[<ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")>]
member SubmitUpdateAgents :
userActionManagers:IList<MonitoringObject> *
updateAgentConfiguration:UpdateAgentConfiguration *
callback:MonitoringTaskStatusChangeCallback -> AgentTaskInformation
<ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")>
Public Function SubmitUpdateAgents (
userActionManagers As IList(Of MonitoringObject),
updateAgentConfiguration As UpdateAgentConfiguration,
callback As MonitoringTaskStatusChangeCallback
) As AgentTaskInformation
Parameters
userActionManagers
Type: System.Collections.Generic.IList<MonitoringObject>The user action manager MonitoringObject objects that refer to the agents 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