MDAC 2.5 SDK - OLE DB Providers
OSP Toolkit
Deletes a specified number of rows, beginning at iRow, from the data set.
HRESULT deleteRows (
LONG iRow,
LONG cRows,
LONG * pcRowsDeleted);
Parameters
iRow
[in]
Position of the first row at which the deletion begins. A value of -1 indicates all rows.
cRows
[in]
Number of rows to be deleted.
pcRowsDeleted
[out]
Actual number of rows that were successfully deleted from the data set.
Return Codes
S_OK
The method succeeded.
E_FAIL
A provider-specific error occurred.
Comments
deleteRows requires the following notifications: