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]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | True or False |
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.
Note 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 when SuspendIndexing is True.
Boolean
Read/write
HRESULT GetSuspendIndexing(LPBOOL pRetVal);
HRESULT SetSuspendIndexing(BOOL NewValue);