Truncate Method

SQLServer.Database.TransactionLog Object

Description

Removes the committed transactions from the transaction log without making a backup.

Visual Basic

TransactionLog.Truncate

C++

HRESULT pTransactionLog->Truncate ( );

Reference

DUMP TRANSACTION ... WITH TRUNCATE_ONLY