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_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.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 is performed and the open proceeds normally. If recovery needs to be performed and RunRecovery is not specified, RunRecoveryException is thrown. If recovery does not need to be performed, RunRecovery is ignored. See Architecting Transactional Data Store applications in the Programmer's Reference Guide for more information.

# See Also

DatabaseEnvironmentConfig Class
BerkeleyDB Namespace