IRowsetBookmark

OLE DB Programmer's Reference

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.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net