OLE DB Simple Provider Toolkit

IDataSourceListener::dataMemberChanged

Notifies the data consumer that an existing data member has become available, unavailable, or has been refreshed.

HRESULT dataMemberChanged(
   DataMember   bstrDM);

Parameters

bstrDM
[in]
Name of the data member that has changed. This string is interpreted as case-insensitive.

Return Codes

S_OK
The method succeeded.
E_FAIL
A provider-specific error occurred.

Comments

The data consumer should release its hold on any data access interfaces for that member (such as IRowset or IRowPosition) and should call IDataSource::getDataMember to get the new data (if available).