MoreRowsAvailable property: Query class
Description
This property returns a Boolean value indicating whether “chunking” is turned on for the query.
This property is read-only.
Chunking Considerations
Every time a row is retrieved from the query result set, it is added to the internal output string managed by RunToString. At this point, the method can check to see if chunking is active. If so, and if the current size of the output string is larger than the ChunkSize parameter, then the query context is stored and the output string is returned. If not, then the next row is retrieved from the result set and the process continues.
When chunking is active, RunToString is intended to be called in a recursive fashion until the result set has been completely traversed. A Boolean property, MoreRowsAvailable, is included in the Query class to control recursive execution of these methods.
Related Topics