다음을 통해 공유


CBulkRowset::MoveToRatio

Fetches rows starting from a fractional position in the rowset.

HRESULT MoveToRatio( 
   DBCOUNTITEM nNumerator, 
   DBCOUNTITEM nDenominator  
) throw( );

매개 변수

  • nNumerator
    [in] The numerator used to determine the fractional position from which to fetch data.

  • nDenominator
    [in] The denominator used to determine the fractional position from which to fetch data.

반환 값

A standard HRESULT.

설명

MoveToRatio fetches the rows roughly according to the following formula:

( nNumerator * RowsetSize ) / nDenominator

Where RowsetSize is the size of the rowset, measured in rows. The accuracy of this formula depends on the specific provider. For details, see IRowsetScroll::GetRowsAtRatio in the OLE DB Programmer's Reference.

요구 사항

헤더: atldbcli.h

참고 항목

참조

CBulkRowset 클래스