TruncateLog Property (BulkCopy)
未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。
The TruncateLog property controls log file processing for Backup and BulkCopy objects.
語法
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)
備註
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.