GetQueryLimit

Description

Returns the hard or soft query limit set for the session.
  • The hard Limit is the absolute query limit which is set for the session.
  • The Soft Limit is the limit which is set for the session. The soft query limit is set by SetMaxResultSetRows. This value cannot be greater than the hard query limit.
The QUERY_LIMIT_TYPE argument is a QueryLimitType enumeration with the value of SOFT_QUERY_LIMIT or HARD_QUERY_LIMIT.
Note: This method became available in version 7.1.

Syntax

VBScript


resultset.GetQueryLimit QUERY_LIMIT_TYPE 

Perl


$resultset->GetQueryLimit($QUERY_LIMIT_TYPE); 
Identifier
Description
resultset
A ResultSet object, representing the rows and columns of data resulting from a query.
QUERY_LIMIT_TYPE
A Long that specifies the query limit type for the rows returned in a ResultSet.
Return value
Returns a Long containing the hard or soft query limit.