Share via


MonitoringStateChangeEvent.ExecuteMonitoringRecovery Method (MonitoringRecovery, String)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Synchronously executes a recovery.

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

Syntax

[ObsoleteAttribute("Use this.ExecuteRecovery()")]
public MonitoringRecoveryResult ExecuteMonitoringRecovery(
    MonitoringRecovery monitoringRecovery,
    string diagnosticOutput
)
public:
[ObsoleteAttribute("Use this.ExecuteRecovery()")]
MonitoringRecoveryResult^ ExecuteMonitoringRecovery(
    MonitoringRecovery^ monitoringRecovery,
    String^ diagnosticOutput
)
[<ObsoleteAttribute("Use this.ExecuteRecovery()")>]
member ExecuteMonitoringRecovery : 
        monitoringRecovery:MonitoringRecovery *
        diagnosticOutput:string -> MonitoringRecoveryResult
<ObsoleteAttribute("Use this.ExecuteRecovery()")>
Public Function ExecuteMonitoringRecovery (
    monitoringRecovery As MonitoringRecovery,
    diagnosticOutput As String
) As MonitoringRecoveryResult

Parameters

  • diagnosticOutput
    Type: System.String

    The output from the associated diagnostic that is required to run the recovery.

Return Value

Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringRecoveryResult

Returns a MonitoringRecoveryResult object that is the result of executing the recovery.

See Also

MonitoringStateChangeEvent Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top