getDataMemberName
Returns the name of a well-known data member.
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 getDataMember (
long lIndex
DataMember *pbstrDM);
Parameters
lIndex
[in] An index into the list of data member names.pbstrDM
[out] A string that describes the data member name. This string is interpreted as case-insensitive.
Return Codes
S_OK
The method succeeded.E_FAIL
A provider-specific error occurred.
Comments
A zero-based index parameter is specified. The index must fall between 0 and getDataMemberCount - 1, or this method returns E_FAIL. The default data member ("") should never be returned from this method.