ManagementServer.SubmitUpdateAgents Method (IList, UpdateAgentConfiguration, MonitoringTaskStatusChangeCallback)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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)
Usage
'Usage
Dim instance As ManagementServer
Dim userActionManagers As IList(Of MonitoringObject)
Dim updateAgentConfiguration As UpdateAgentConfiguration
Dim callback As MonitoringTaskStatusChangeCallback
Dim returnValue As AgentTaskInformation
returnValue = instance.SubmitUpdateAgents(userActionManagers, updateAgentConfiguration, callback)
Syntax
'Declaration
<ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")> _
Public Function SubmitUpdateAgents ( _
userActionManagers As IList(Of MonitoringObject), _
updateAgentConfiguration As UpdateAgentConfiguration, _
callback As MonitoringTaskStatusChangeCallback _
) As AgentTaskInformation
[ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")]
public AgentTaskInformation SubmitUpdateAgents (
IList<MonitoringObject> userActionManagers,
UpdateAgentConfiguration updateAgentConfiguration,
MonitoringTaskStatusChangeCallback callback
)
[ObsoleteAttribute(L"Use this.SubmitUpdateAgents with TaskStatusChangeCallback")]
public:
AgentTaskInformation^ SubmitUpdateAgents (
IList<MonitoringObject^>^ userActionManagers,
UpdateAgentConfiguration^ updateAgentConfiguration,
MonitoringTaskStatusChangeCallback^ callback
)
/** @attribute ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback") */
public AgentTaskInformation SubmitUpdateAgents (
IList<MonitoringObject> userActionManagers,
UpdateAgentConfiguration updateAgentConfiguration,
MonitoringTaskStatusChangeCallback callback
)
ObsoleteAttribute("Use this.SubmitUpdateAgents with TaskStatusChangeCallback")
public function SubmitUpdateAgents (
userActionManagers : IList<MonitoringObject>,
updateAgentConfiguration : UpdateAgentConfiguration,
callback : MonitoringTaskStatusChangeCallback
) : AgentTaskInformation
Parameters
- userActionManagers
The user action manager MonitoringObject objects that refer to the agents to update.
- updateAgentConfiguration
Information used to update the agents.
- callback
A MonitoringTaskStatusChangeCallback delegate that references a user-defined method to call when the status of any update in this batch changes.
Return Value
Returns a AgentTaskInformation instance that allows you to access the update task IDs and their associated agent names.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
ManagementServer Class
ManagementServer Members
Microsoft.EnterpriseManagement.Administration Namespace