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 is created stand-alone; it is not part of any Berkeley DB environment.

Namespace: BerkeleyDB
Assembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.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 automatically acquire the correct locks when reading and writing pages of the database.

# See Also

DatabaseConfig Class
BerkeleyDB Namespace