<xml></xml>

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

Berkeley DB .NET API Documentation
BTreeDatabaseConfig..::.SetCompression Method
BTreeDatabaseConfig Class See Also Send Feedback

Enable compression of the key/data pairs stored in the database, using the default compression and decompression functions.

Namespace: BerkeleyDB
Assembly: libdb_dotnet62 (in libdb_dotnet62.dll) Version: 6.2.32.0

# Syntax

C#

    public void SetCompression()

Visual Basic (Declaration)

    Public Sub SetCompression

Visual C++

    public:
    void SetCompression()

# Remarks

The default functions perform prefix compression on keys, and prefix compression on data items for duplicate keys.

# See Also

BTreeDatabaseConfig Class
SetCompression Overload
BerkeleyDB Namespace