Returns a data access object (such as a row position) for a given data member.
HRESULT getDataMember ( DataMember bstrDM REFIID riid IUnknown **ppunk);
Parameters
Return Codes
Comments
The default data member is specified by having either a zero-length string or a Null string. (They are equivalent.) If the data source does not support the desired data access object, it returns E_NOINTERFACE.
The return value from IDataSource::getDataMember is always an IUnknown pointer. It is the responsibility of the caller of the method to query for the appropriate interface. That is, the IID parameter does not specify which interface, but rather which data access object type to return.