IConfiguration.

RecoveryMode(bool) Method

Summary

turns recovery mode on and off.

Recovery mode can be used to try to retrieve as much as possible out of an already corrupted database.

Syntax

void RecoveryMode(bool flag)

Remarks

turns recovery mode on and off.

Recovery mode can be used to try to retrieve as much as possible out of an already corrupted database. In recovery mode internal checks are more relaxed. Null or invalid objects may be returned instead of throwing exceptions.

Use this method with care as a last resort to get data out of a corrupted database.

Parameters

Name Type Description
flag bool true to turn recover mode on.

Return Value

Type Description
void