TruncateUnusedPages Method

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
RecnoDatabase..::.TruncateUnusedPages Method
RecnoDatabase Class See Also Send Feedback

Return pages to the filesystem that are already free and at the end of the file.

Namespace: BerkeleyDB
Assembly: libdb_dotnet50 (in libdb_dotnet50.dll) Version: 5.0.21.0

# Syntax

C#
    public uint TruncateUnusedPages()

Visual Basic (Declaration)
    Public Function TruncateUnusedPages As UInteger

Visual C++
    public:
    unsigned int TruncateUnusedPages()

#### Return Value

The number of database pages returned to the filesystem

# See Also

RecnoDatabase Class
TruncateUnusedPages Overload
BerkeleyDB Namespace