GetRowPosition

IRowPosition* GetRowPosition(void);

Comments

Returns the attached IRowPosition interface pointer. The method returns NULL if there is no attachment, or if the attachment was made to an IRowset interface instead of an IRowPosition or IDataSource interface.

See CRowset::Attach for more detail.