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

Return the search results generated by this search.

Syntax
C++
DSearchResults * GetResults();

After a search, use GetResults to access search results. The DSearchJob will continue to own the search results object, so you may not delete the pointer returned from GetResults because the DSearchJob destructor will delete the search results. To obtain ownership of the search results object, use DetachResults to get the search results object and tell the DSearchJob to relinquish ownership.

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