Compartilhar via


IRowsetImpl::RestartPosition

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

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

Reference

IRowsetImpl Class

Other Resources

IRowsetImpl Members