OLEDBSimpleProvider::deleteRows
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. Ignored when implementing the wildcard behavior (iRow value of -1).
- 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
OLEDBSimpleProvider::deleteRows requires the following notifications:
For more information and programming considerations about sending and receiving notifications, see "OSP Notifications."