We recommend using Visual Studio 2017

BackupTruncateLogType Enumeration

The BackupTruncateLogType enumeration contains values that are used to specify the truncate action taken on the log.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

public enum BackupTruncateLogType

Member nameDescription
TruncateOnlyTruncates the log without performing a backup.
NoTruncateThe log is not truncated. All transactions remain in the log.
TruncateThe log is truncated. All completed transactions will be removed from the log.

The BackupTruncateLogType enumeration class is served by the Backup class.