This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The CurrentResultSet property controls access to the result sets of a QueryResults object.
A QueryResults object can contain multiple result sets of data. For example, each result of an individual command in a Transact-SQL batch is returned to the client in its own set. Use the CurrentResultSet property to select a particular result set .
The ResultSets property reports the number of result sets in the QueryResults object.