MonitoringStateChangeEvent.SubmitRecovery Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SubmitRecovery(ManagementPackRecovery) |
Submits a MonitoringRecovery for the current state change event. |
SubmitRecovery(ManagementPackRecovery, String) |
Submits a MonitoringRecovery for the current state change event. |
SubmitRecovery(ManagementPackRecovery)
Submits a MonitoringRecovery for the current state change event.
public:
Microsoft::EnterpriseManagement::Monitoring::RecoveryResult ^ SubmitRecovery(Microsoft::EnterpriseManagement::Configuration::ManagementPackRecovery ^ recovery);
public Microsoft.EnterpriseManagement.Monitoring.RecoveryResult SubmitRecovery (Microsoft.EnterpriseManagement.Configuration.ManagementPackRecovery recovery);
member this.SubmitRecovery : Microsoft.EnterpriseManagement.Configuration.ManagementPackRecovery -> Microsoft.EnterpriseManagement.Monitoring.RecoveryResult
Public Function SubmitRecovery (recovery As ManagementPackRecovery) As RecoveryResult
Parameters
- recovery
- ManagementPackRecovery
Returns
A RecoveryResult object represents the current state of the recovery.
Exceptions
There was an error processing results on the server.
Applies to
SubmitRecovery(ManagementPackRecovery, String)
Submits a MonitoringRecovery for the current state change event.
public:
Microsoft::EnterpriseManagement::Monitoring::RecoveryResult ^ SubmitRecovery(Microsoft::EnterpriseManagement::Configuration::ManagementPackRecovery ^ recovery, System::String ^ diagnosticOutput);
public Microsoft.EnterpriseManagement.Monitoring.RecoveryResult SubmitRecovery (Microsoft.EnterpriseManagement.Configuration.ManagementPackRecovery recovery, string diagnosticOutput);
member this.SubmitRecovery : Microsoft.EnterpriseManagement.Configuration.ManagementPackRecovery * string -> Microsoft.EnterpriseManagement.Monitoring.RecoveryResult
Public Function SubmitRecovery (recovery As ManagementPackRecovery, diagnosticOutput As String) As RecoveryResult
Parameters
- recovery
- ManagementPackRecovery
- diagnosticOutput
- String
The output from the associated diagnostic required to run the recovery.
Returns
A RecoveryResult object represents the current state of the recovery.
Exceptions
There was an error processing results on the server.