Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RowPosition Property (ADO)
Collapse the table of content
Expand the table of content

RowPosition Property (ADO)

 

Gets or sets an OLE DB RowPosition object from/on an ADORecordsetConstruction object. When you use put_RowPosition to set the RowPosition object, the resulting Recordset object uses the RowPosition object to determine the current row.

Read/write.

HRESULT get_RowPosition([out, retval] IUnknown** ppRowPos);
HRESULT put_RowPosition([in] IUnknown* pRowPos);

 ppRowPos 

Pointer to an OLE DB RowPosition object.

 PRowPos 

An OLE DB RowPosition object.

This property method returns the standard HRESULT values, including S_OK and E_FAIL.

When this property is set, if the Rowset object on the RowPosition object is different from the Rowset object on the Recordset object, the former overrides the latter. The same behavior applies to the current Chapter of the RowPosition as well.

Show:
© 2015 Microsoft