removeDataSourceListener
Removes a listener from the notification list.
Importante
This feature will be removed in a future version of Windows. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Instead, write a fully functional OLE DB provider using the native OLE DB interfaces.
HRESULT removeDataSourceListener(
DataSourceListener *pDSL);
- pDSL
[in] Pointer to the interface of the listener.
S_OK
The method succeeded.E_FAIL
A provider-specific error occurred.
Checking whether the listener has been added and returning E_FAIL is optional. If there are duplicates on the list, one is removed, but which one is unspecified. If the data source does not issue notifications, it can just return S_OK from this method.