BackupTruncateLogType Enumeration
The BackupTruncateLogType enumeration contains values that are used to specify the truncate action taken on the log.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
語法
'宣告
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. |
備註
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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。