CBulkRowset::MoveToRatio

HRESULT MoveToRatio( ULONG nNumerator, ULONG nDenominator );

Return Value

A standard HRESULT.

Parameters

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.

Remarks

Fetches rows starting from a fractional position in the rowset, 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.

CBulkRowset OverviewClass Members