Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/12/2014
This method sets the maximum number of rows to return from a query.
Syntax
HRESULT SetMAXResultsCount(
ULONG cResultCount
);
Parameters
- cResultCount
[in] Number of rows returned from an IMLQuery object.
Return Values
Returns the HRESULT values shown in the following table.
| Value | Description |
|---|---|
S_OK |
The method was successful. |
E_INVALIDARG |
One or more parameters are invalid. |
E_FAIL |
The method was not successful. |
E_MEMORY |
An out of memory error occurred. |
Remarks
The max value for cResultCount is 200.
Requirements
Header |
mlibdll.h, |
Library |
mlibdll.lib |