IRowsetLocate

IRowsetLocate fetches arbitrary rows of a rowset. A rowset that does not implement this interface is a sequential rowset. IRowsetLocate is a prerequisite for IRowsetScroll.

When IRowsetLocate or one of its direct descendants is present on a rowset, then column zero is the bookmark for the rows.

 

Method Description
Compare Compares two bookmarks.
GetRowsAt Fetches rows, starting with the row specified by an offset from a bookmark.
GetRowsByBookmark Fetches the rows that match the specified bookmarks.
Hash Returns hash values for the specified bookmarks.

IRowsetLocate::Compare

Compares two bookmarks. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.

IRowsetLocate::GetRowsAt

Fetches rows starting with the row specified by an offset from a bookmark. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.

IRowsetLocate::GetRowsByBookmark

Fetches the rows that match the specified bookmarks. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.

IRowsetLocate::Hash

Returns hash values for the specified bookmarks. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.