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..::.InitDatabaseLength Property
DatabaseEnvironmentConfig Class See Also Send Feedback

The initial maximum combined length of a database's directory and name catered for by the Berkeley DB environment

Namespace: BerkeleyDB
Assembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0

# Syntax

C#
    public uint InitDatabaseLength { get; set; }

Visual Basic (Declaration)
    Public Property InitDatabaseLength As UInteger

Visual C++
    public:
    property unsigned int InitDatabaseLength {
    	unsigned int get ();
    	void set (unsigned int value);
    }

# Remarks

The value is used by Open(String, DatabaseEnvironmentConfig) to force Berkeley DB to allocate the maximum combined length of a database's directory and name strings when the environment is created. This can be useful to calculate the initial amount of space needed for the replication objects in the main environment region.

# See Also

DatabaseEnvironmentConfig Class
BerkeleyDB Namespace