Share via


MonitoringStateChangeEvent.ExecuteRecovery Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

Usage

'Usage
Dim instance As MonitoringStateChangeEvent
Dim recovery As ManagementPackRecovery
Dim diagnosticOutput As String
Dim returnValue As RecoveryResult

returnValue = instance.ExecuteRecovery(recovery, diagnosticOutput)

Syntax

'Declaration
Public Function ExecuteRecovery ( _
    recovery As ManagementPackRecovery, _
    diagnosticOutput As String _
) As RecoveryResult
public RecoveryResult ExecuteRecovery (
    ManagementPackRecovery recovery,
    string diagnosticOutput
)
public:
RecoveryResult^ ExecuteRecovery (
    ManagementPackRecovery^ recovery, 
    String^ diagnosticOutput
)
public RecoveryResult ExecuteRecovery (
    ManagementPackRecovery recovery, 
    String diagnosticOutput
)
public function ExecuteRecovery (
    recovery : ManagementPackRecovery, 
    diagnosticOutput : String
) : RecoveryResult

Parameters

  • recovery
  • diagnosticOutput

Return Value

Returns RecoveryResult.

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

MonitoringStateChangeEvent Class
MonitoringStateChangeEvent Members
Microsoft.EnterpriseManagement.Monitoring Namespace