Share via


dataMemberChanged

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

Important

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.

Syntax

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).