Поделиться через


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

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