When called on a database configured with secondary indices, This method truncates the primary database and all secondary indices. A count of the records discarded from the primary database is returned.

Overload List

  NameDescription
Truncate()()()
Empty the database, discarding all records it contains.
Truncate(Transaction)
Empty the database, discarding all records it contains.

See Also