Detach and return the search results generated by this search.
Syntax
Class
Description
Remarks
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.