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


ManagementServer.SubmitRepairAgents Method (IList<MonitoringObject>, RepairAgentConfiguration, MonitoringTaskStatusChangeCallback)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Starts an asynchronous operation to repair agents specified by user action manager objects and receives notification when the status of any repair changes.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")]
public AgentTaskInformation SubmitRepairAgents(
    IList<MonitoringObject> userActionManagers,
    RepairAgentConfiguration repairAgentConfiguration,
    MonitoringTaskStatusChangeCallback callback
)
public:
[ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")]
AgentTaskInformation^ SubmitRepairAgents(
    IList<MonitoringObject^>^ userActionManagers,
    RepairAgentConfiguration^ repairAgentConfiguration,
    MonitoringTaskStatusChangeCallback^ callback
)
[<ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")>]
member SubmitRepairAgents : 
        userActionManagers:IList<MonitoringObject> *
        repairAgentConfiguration:RepairAgentConfiguration *
        callback:MonitoringTaskStatusChangeCallback -> AgentTaskInformation
<ObsoleteAttribute("Use this.SubmitRepairAgents with TaskStatusChangeCallback")>
Public Function SubmitRepairAgents (
    userActionManagers As IList(Of MonitoringObject),
    repairAgentConfiguration As RepairAgentConfiguration,
    callback As MonitoringTaskStatusChangeCallback
) As AgentTaskInformation

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.Administration.AgentTaskInformation

Returns a AgentTaskInformation instance that allows you to access the repair task IDs and their associated agent names.

See Also

SubmitRepairAgents Overload
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top