Compact Method

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++ Members: Show All Members: Filtered Members: Filtered Members: Filtered

C#
Visual Basic
Visual C++
Include Protected Members
Include Inherited Members

Berkeley DB .NET API Documentation
HashDatabase..::.Compact Method
HashDatabase Class See Also Send Feedback

# Overload List

| Name | Description
--- | --- | ---
| Compact(CompactConfig) | Compact the database, and optionally return unused database pages to the underlying filesystem.
| Compact(CompactConfig, Transaction) | Compact the database, and optionally return unused database pages to the underlying filesystem.

# See Also

HashDatabase Class
HashDatabase Members
BerkeleyDB Namespace