Enable compression of the key/data pairs stored in the database,
using the specified compression and decompression functions.
Namespace:
BerkeleyDBAssembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0
Syntax
C# |
---|
public void SetCompression( BTreeCompressDelegate compression, BTreeDecompressDelegate decompression ) |
Visual Basic (Declaration) |
---|
Public Sub SetCompression ( _ compression As BTreeCompressDelegate, _ decompression As BTreeDecompressDelegate _ ) |
Visual C++ |
---|
public: void SetCompression( BTreeCompressDelegate^ compression, BTreeDecompressDelegate^ decompression ) |
Parameters
- compression
- Type: BerkeleyDB..::.BTreeCompressDelegate
The compression function
- decompression
- Type: BerkeleyDB..::.BTreeDecompressDelegate
The decompression function