Env Field

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_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.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