You are here: COM Interface > Interfaces > ISearchJob Interface > ISearchJob::AddIndexToSearch Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
ISearchJob::AddIndexToSearch Method

Add an index path to the IndexesToSearch string.

Syntax
IDL
[id(38), helpstring("method AddIndexToSearch")] HRESULT AddIndexToSearch([in] BSTR IndexPath);

AddIndexToSearch takes care of adding quotation marks where needed (if an index path contains a space) and should be used instead of directly assigning to IndexesToSearch.

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