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 Send Feedback

An estimate of the final size of the hash table.

Namespace: BerkeleyDB
Assembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.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 is not set or is set too low, hash tables still expand gracefully as keys are entered, although a slight performance degradation may be noticed.

If the database already exists, this setting is ignored.

# See Also

HashDatabaseConfig Class
BerkeleyDB Namespace