IRowPosition::Initialize

Initializes the RowPosition object by setting the source rowset. 

HRESULT Initialize (
IUnknown *  pSourceRowset);

Parameters

pSourceRowset [in]

Pointer to an interface on the source rowset.

Return Code

S_OK

The method succeeded.

E_FAIL

A provider-specific error occurred.

E_NOINTERFACE

pSourcesRowset does not support the IRowset interface.

DB_E_ALREADYINITIALIZED

The RowPosition object has already been initialized.