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

Attach a data source to the search job to be searched as part of an unindexed search.

Syntax
C++
void AttachDataSource(DDataSourceBase * ds, int fShouldDelete = false);
Parameters
Description
DDataSourceBase * ds
Data source to attach (see dtsDataSource and DDataSourceBase)
int fShouldDelete = false
If true, the data source will be deleted by the DSearchJob destructor.
Copyright (c) 1995-2020 dtSearch Corp. All rights reserved.