Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 1.54 KB

rowposition-property-ado.md

File metadata and controls

46 lines (38 loc) · 1.54 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords apitype
RowPosition Property (ADO)
RowPosition Property (ADO)
rothja
jroth
01/19/2017
sql
ado
reference
ADORecordConstruction::put_RowPosition
ADORecordConstruction::PutRowPosition
ADORecordConstruction::GetRowPosition
ADORecordConstruction::RowPosition
ADORecordConstruction::get_RowPosition
RowPosition property [ADO]
COM

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.

Syntax

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

Parameters

ppRowPos
Pointer to an OLE DB RowPosition object.

PRowPos
An OLE DB RowPosition object.

Return Values

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

Remarks

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.

Applies To

ADORecordsetConstruction Interface