หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
GetCurrentPosition retrieves the number of the current row in the rowset.
Syntax
HRESULT IRowsetPosition::GetCurrentPosition (ULONG * pulPosition,);
Parameters
- pulPosition
[in/out] A pointer to an unsigned long value. This long must be allocated by the client.
Return Value
- S_OK
The method succeeded.
- E_INVALIDARG
pulPosition was NULL.
- E_UNEXPECTED
The rowset is in a zombied state.
Remarks
This returns the current location of the next fetch position in the rowset. The valid range is 1 to GetCurrentPosition. If there is no current row, pulPosition is 0.
See Also
Reference
IRowsetPosition (SQL Server Compact Edition)
IRowsetPosition::GetRecordCount