You are here: C++ API > Classes > dtsSearchResults Class > dtsSearchResults::getHandle Method
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchResults::getHandle Method

getHandle() returns the handle that the dtSearch Engine uses internally to identify a search results set. The dtsSearchResults constructor allocates this handle and the dtsSearchResults destructor releases it, in both cases through calls to the dtSearch Engine API. To attach a dtsSearchResults object to a search job, set the search job's resultsHandle member to the value returned by getHandle().