You are here: COM Interface > Interfaces > IIndexJob Interface > IIndexJob::ExecuteInThread Method
IIndexJob::ExecuteInThread Method
dtSearch Text Retrieval Engine Programmer's Reference
IIndexJob::ExecuteInThread Method

ExecuteInThread starts the indexing job in a separate thread and returns immediately.

[id(35), helpstring("method ExecuteInThread")] HRESULT ExecuteInThread();

To determine when the thread is done, check the IsThreadDone property. To abort the thread before it finishes, call the AbortThread method. When you execute an IndexJob with ExecuteInThread, the StatusHandler will not be called with status notifications.

Copyright (c) 1995-2021 dtSearch Corp. All rights reserved.