UseBulkCopyOption Property

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The UseBulkCopyOption property determines whether the select into/bulkcopy option is turned on automatically when the ImportData method of the Table object is executed.

语法

object
.UseBulkCopyOption [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetUseBulkCopyOption(LPBOOL pRetVal);
HRESULT SetUseBulkCopyOption(BOOL NewValue);

注释

If TRUE, and the select into/bulkcopy database option is off in the target database, the option is turned on before an ImportData bulk copy is started and is turned off after the bulk copy is complete. This applies only to instances of SQL Server version 7.0, because later versions always allow bulk copying. The recovery model affects the logging of bulk copy operations.

If FALSE, no adjustments to the database options are made.

Applies To: