Export (0) Print
Expand All

UseBulkCopyOption Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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]

object

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

value

TRUE or FALSE

Boolean

Read/write

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.

Community Additions

ADD
Show:
© 2014 Microsoft