SQL-DMO
TruncateLog Property (BulkCopy)
The TruncateLog property controls log file processing for Backup and BulkCopy objects.
Applies To
BulkCopy Object |
Syntax
object.TruncateLog [= value]
Parts
object
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.