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
QueueDatabaseConfig..::.ExtentSize Property
QueueDatabaseConfig Class See Also

The size of the extents used to hold pages in a QueueDatabase, specified as a number of pages.

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

# Syntax

C#
    public uint ExtentSize { get; set; }

Visual Basic (Declaration)
    Public Property ExtentSize As UInteger

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

# Remarks

Each extent is created as a separate physical file. If no extent size is set, the default behavior is to create only a single underlying database file.

For information on tuning the extent size, see Selecting a extent size in the Programmer's Reference Guide.

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

# See Also

QueueDatabaseConfig Class
BerkeleyDB Namespace