TruncateLog Property (BulkCopy) (SQL-DMO)

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

Applies To

BulkCopy Object

Syntax

object.TruncateLog [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

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.

Modifiable

Read/write

Data Type

Boolean

Prototype (C/C++)

HRESULT GetTruncateLog(LPBOOL pRetVal)

HRESULT SetTruncateLog(BOOL NewValue)

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.