Share via


TruncateLog Property (BulkCopy)

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

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

Sintaxis

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)

Notas

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: