Share via


TruncateLog Property (BulkCopy)

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

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)

Osservazioni

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:

BulkCopy Object