Condividi tramite


BackupTruncateLogType Enumeration

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

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Enumeration BackupTruncateLogType
public enum BackupTruncateLogType
public enum class BackupTruncateLogType
public enum 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 The log is truncated and the transaction of truncating the log itself is not logged. This option is only recommended when the log is full.

Osservazioni

The BackupTruncateLogType enumeration class is served by the Backup class.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

Microsoft.SqlServer.Management.Smo Namespace