<xml></xml>

Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: 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_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.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