MDAC 2.5 SDK - OLE DB Providers
OSP Toolkit


 

OLEDBSimpleProviderListener::aboutToDeleteRows

Indicates that the specified rows are about to be deleted. aboutToDeleteRows is an event handler method, implemented through OLEDBSimpleProvider::addOLEDBSimpleProviderListener. This notification is issued just prior to the rows being deleted, either from a call to OLEDBSimpleProvider::deleteRows or internally through the provider.

HRESULT aboutToDeleteRows (
   LONG   iRow,
   LONG   cRows);

Parameters

iRow

[in]
Starting position of the rows to be deleted.

cRows

[in]
Number of rows to be deleted.

Return Codes

S_OK

The method succeeded.

E_FAIL

A provider-specific error occurred.

Comments

Access to cells in the deleted rows should remain valid until control is returned from OLEDBSimpleProviderListener::aboutToDeleteRows.