<xml></xml>

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

Berkeley DB .NET API Documentation
SecondaryQueueDatabase..::.Truncate Method
SecondaryQueueDatabase Class See Also Send Feedback

When called on a database configured with secondary indices, Truncate will truncate the primary database and all secondary indices. A count of the records discarded from the primary database is returned.

# Overload List

| Name | Description
--- | --- | ---
| Truncate()()() | Empty the database, discarding all records it contains. (Inherited from BaseDatabase.)
| Truncate(Transaction) | Empty the database, discarding all records it contains. (Inherited from BaseDatabase.)

# See Also

SecondaryQueueDatabase Class
SecondaryQueueDatabase Members
BerkeleyDB Namespace