Empty the database, discarding all records it contains.
Namespace:
BerkeleyDBAssembly: libdb_dotnet61 (in libdb_dotnet61.dll) Version: 6.1.26.0
Syntax
| C# |
|---|
public uint Truncate() |
| Visual Basic (Declaration) |
|---|
Public Function Truncate As UInteger |
| Visual C++ |
|---|
public: unsigned int Truncate() |
Return Value
The number of records discarded from the database.
Remarks
If the operation occurs in a transactional database, the operation
is implicitly transaction protected.