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
HashDatabaseConfig..::.TableSize Property
HashDatabaseConfig Class See Also

An estimate of the final size of the hash table.

Namespace: BerkeleyDB
Assembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

# Syntax

C#
    public uint TableSize { get; set; }

Visual Basic (Declaration)
    Public Property TableSize As UInteger

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

# Remarks

In order for the estimate to be used when creating the database, FillFactor must also be set. If the estimate or fill factor are not set or are set too low, hash tables will still expand gracefully as keys are entered, although a slight performance degradation may be noticed.

If the database already exists, this setting will be ignored.

# See Also

HashDatabaseConfig Class
BerkeleyDB Namespace