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)

Syntax

'Declaration
Public Enumeration BackupTruncateLogType
'Usage
Dim instance As BackupTruncateLogType
public enum BackupTruncateLogType
public enum class BackupTruncateLogType
type BackupTruncateLogType
public enum BackupTruncateLogType

Members

Member name Description
NoTruncate The log is not truncated. All transactions remain in the log.
Truncate The log is truncated. All completed transactions will be removed from the log.
TruncateOnly Truncates the log without performing a backup.

Remarks

The BackupTruncateLogType enumeration class is served by the Backup class.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace