다음을 통해 공유


CRowset::MoveLast

Moves the cursor to the last row.

HRESULT MoveLast( ) throw( );

반환 값

A standard HRESULT.

설명

Calls IRowset::RestartPosition to reposition the next-fetch location to the last position and retrieves the last row.

This method requires that you set DBPROP_CANSCROLLBACKWARDS to VARIANT_TRUE before calling Open on the table or command containing the rowset. (For better performance, you might also set DBPROP_QUICKRESTART to VARIANT_TRUE.)

요구 사항

헤더: atldbcli.h

참고 항목

참조

CRowset 클래스

CRowset::MoveNext

IRowset::RestartPosition

CRowset::MovePrev