Jaa


TruncateLog Property (BulkCopy)

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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

Syntax

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)

Remarks

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