IRowsetImpl::RestartPosition

 

The latest version of this topic can be found at IRowsetImpl::RestartPosition.

Repositions the next fetch position to its initial position; that is, its position when the rowset was first created.

Syntax

  
      STDMETHOD( RestartPosition )(  
   HCHAPTER /* hReserved */   
);  

Parameters

See IRowset::RestartPosition in the OLE DB Programmer's Reference.

Remarks

The rowset position is undefined until GetNextRow is called. You can move backwards in a rowet by calling RestartPosition and then fetching or scrolling backwards.

Requirements

Header: atldb.h

See Also

IRowsetImpl Class