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
DatabaseConfig..::.Env Field
DatabaseConfig Class See Also Send Feedback

The Berkeley DB environment within which to create a database. If null, the database will be created stand-alone; that is, it is not part of any Berkeley DB environment.

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

# Syntax

C#
    public DatabaseEnvironment Env

Visual Basic (Declaration)
    Public Env As DatabaseEnvironment

Visual C++
    public:
    DatabaseEnvironment^ Env

# Remarks

The database access methods automatically make calls to the other subsystems in Berkeley DB, based on the enclosing environment. For example, if the environment has been configured to use locking, the access methods will automatically acquire the correct locks when reading and writing pages of the database.

# See Also

DatabaseConfig Class
BerkeleyDB Namespace