InitDatabaseCount Property

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

The initial number of databases 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 InitDatabaseCount { get; set; }

Visual Basic (Declaration)
    Public Property InitDatabaseCount As UInteger

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

# Remarks

The value is used by Open(String, DatabaseEnvironmentConfig) to force Berkeley DB to allocate a certain number of databases 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