IRowsetCurrentIndex

OLE DB Programmer's Reference

IRowsetCurrentIndex is the interface for determining and selecting a specific index for a rowset. This is limited to rowsets that expose IRowsetIndex. IRowsetCurrentIndex provides a mechanism for providers to reorder their rows without reopening the rowset. This interface can be effective for both integrated and nonintegrated indexes. For a complete description of indexes, see Chapter 10: Index Rowsets and Chapter 11: Integrated Indexes.

When to Implement

IRowsetCurrentIndex is optional for providers that support integrated or nonintegrated indexes through IRowsetIndex. Providers that support IRowsetIndex and can change the current index dynamically should implement this interface.

When to Call

Method Description
GetIndex Gets the current index on the rowset.
SetIndex Sets the current index on the rowset.

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