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

The initial number of databases and subdatabases using external files 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 InitExtFileDatabaseCount { get; set; }

Visual Basic (Declaration)
    Public Property InitExtFileDatabaseCount As UInteger

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

# Remarks

The value is used by Open(String, DatabaseEnvironmentConfig) to force Berkeley DB to allocate the initial number of databases and subdatabases using external files 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