Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
DatabaseEnvironmentConfig..::.Register Field
DatabaseEnvironmentConfig Class See Also Send Feedback

If true, check to see if recovery needs to be performed before opening the database environment. (For this check to be accurate, all processes using the environment must specify it when opening the environment.)

Namespace: BerkeleyDB
Assembly: libdb_dotnet60 (in libdb_dotnet60.dll) Version: 6.0.20.0

# Syntax

C#
    public bool Register

Visual Basic (Declaration)
    Public Register As Boolean

Visual C++
    public:
    bool Register

# Remarks

If recovery needs to be performed for any reason (including the initial use of this setting), and RunRecoveryis also specified, recovery will be performed and the open will proceed normally. If recovery needs to be performed and RunRecovery is not specified, RunRecoveryException will be thrown. If recovery does not need to be performed, RunRecovery will be ignored. See Architecting Transactional Data Store applications in the Programmer's Reference Guide for more information.

# See Also

DatabaseEnvironmentConfig Class
BerkeleyDB Namespace