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.
[!참고] 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.