IRowsetBookmark is an optional interface on the TRowset cotype that enables rowsets that support bookmarks to set the next fetch position based on a bookmark.

When IRowsetBookmark is present on a rowset, column 0 is the bookmark for the rows. Reading this column will obtain a bookmark value that can be used to reposition to the same row. Support for IRowsetBookmark does not imply that IRowsetLocate is supported on the rowset, although it does not preclude it.

Providers that support bookmarks are encouraged to implement this interface as a mechanism for fetching rows.




Sets the next fetch position for the rowset to be immediately before the specified bookmark.

This topic is a part of: