IRowsetPosition is used to return exact row count and position information for the rowset. Because the OLE DB Provider for SQL Server Compact 3.5 does not support IRowsetLocate or IRowsetScroll, this interface is used only to expose row count and position information.

This interface is supported only on scrollable Query Processor cursors

The OLE DB Provider for SQL Server Compact 3.5 implements the following IRowsetPosition methods:

Method

Description

GetRecordCount

Used to retrieve the number of rows in the current rowset.

GetCurrentPosition

Gets the number of the current row.

Reference

IRowsetPosition::GetCurrentPosition

IRowsetPosition::GetRecordCount