ISearchQueryHelper::get_QueryMaxResults Method

Gets the number of results to be returned.

Syntax

HRESULT get_QueryMaxResults(      
    LONG *pcMaxResults
);

Parameters

  • pcMaxResults
    [out, retval] Returns a pointer to the maximum number of results to be returned by the query. Any negative number will return all results.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

ISearchQueryHelper::put_QueryMaxResults