OLE DB Simple Provider Toolkit

IDataSource::getDataMemberCount

Returns the number of well-known data members.

HRESULT getDataMemberCount(
   long    *plCount);

Parameters

plCount
[out]
Number of well-known data members.

Return Codes

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

Comments

For data sources that do not support enumeration, 0 should be returned. Otherwise, the number of well-known data members should be returned.