MonitoringStateChangeEvent.ExecuteRecovery Method

Updated: April 16, 2012

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As MonitoringStateChangeEvent Dim recovery As ManagementPackRecovery Dim diagnosticOutput As String Dim returnValue As RecoveryResult returnValue = instance.ExecuteRecovery(recovery, diagnosticOutput)Public Function ExecuteRecovery ( _ recovery As ManagementPackRecovery, _ diagnosticOutput As String _ ) As RecoveryResultpublic 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 ) : RecoveryResultParametersrecoverydiagnosticOutputReturn ValueReturns RecoveryResult.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms