OLE DB Programmer's Reference |
Gets the current index on the rowset.
HRESULT GetIndex ( DBID **ppIndexID);
Parameters
Return Code
Comments
IRowsetCurrentIndex::GetIndex returns the index ID of the current index for the rowset. If a rowset is opened via the ppIndexID argument to IOpenRowset::OpenRowset, the value can be retrieved via this interface, assuming it has not been changed since the rowset was opened. The current index is always returned via this method.
The provider allocates memory for ppIndexID. The consumer must free this memory by calling IMalloc::Free.
1998-2001 Microsoft Corporation. All rights reserved.