SuspendIndexing Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

The SuspendIndexing property controls index update when the ImportData method of the Table object is used to copy data to Microsoft SQL Server.

構文

object
.SuspendIndexing [=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 GetSuspendIndexing(LPBOOL pRetVal);
HRESULT SetSuspendIndexing(BOOL NewValue);

解説

If TRUE, indexes are dropped before the bulk-copy operation is started and re-created after the bulk-copy operation is completed.

If FALSE, no changes are made to indexing.

ms138423.note(ja-jp,SQL.90).gifメモ :
Indexes that enforce referential or data integrity constraints, such as those implemented by SQL Server PRIMARY KEY or UNIQUE key constraints, are not dropped even if SuspendIndexing is TRUE.

Applies To:

BulkCopy Object