Поделиться через


TruncateLog Property (BulkCopy)

В будущей версии Microsoft SQL Server эта возможность будет удалена. Избегайте использования этой возможности в новых разработках и запланируйте изменение существующих приложений, в которых она применяется.

The TruncateLog property controls log file processing for Backup and BulkCopy objects.

Синтаксис

object
.TruncateLog [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    TRUE or FALSE

Modifiable

Read/write

Data Type

Boolean

Prototype (C/C++)

HRESULT GetTruncateLog(LPBOOL pRetVal)
HRESULT SetTruncateLog(BOOL NewValue)

Замечания

If TRUE, the log file is truncated on successful completion of the ImportData method.

If FALSE, the log file is not truncated regardless of the completion status of the ImportData method.

Applies To: