This sample demonstrates the
LogWriter.SaveSnapshotmethod for creating a database snapshot and truncating the transaction log in a single operation.
In a console window run:
TLogCheckpointBut it is more instructive to run one instance in your development environment debugger, stepping through the code.