Compartilhar via


IRowsetBookmark

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.

When to Implement

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

Method

Description

PositionOnBookmark

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

This topic is a part of: