TruncateLog Property (BulkCopy)
Diese Funktion wird in zukünftigen Versionen von Microsoft SQL Server nicht mehr bereitgestellt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.
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 listvalue
TRUE or FALSE
Modifiable
Read/write
Data Type
Boolean
Prototype (C/C++)
HRESULT GetTruncateLog(LPBOOL pRetVal)
HRESULT SetTruncateLog(BOOL NewValue)
Hinweise
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.