You are here: C++ Support Classes > dtSearch Namespace > Classes > DSearchJob Class > DSearchJob::AddFolderToSearch Method
DSearchJob::AddFolderToSearch Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DSearchJob::AddFolderToSearch Method

Add a folder to the FoldersToSearch list. Append <+> to the folder name to specify that subfolders should also be searched.

Syntax
C++
void AddFolderToSearch(const dtsTCHAR * searchFolder);
Parameters
Description
const dtsTCHAR * searchFolder
Path of the folder to search.
Copyright (c) 1995-2021 dtSearch Corp. All rights reserved.