Share via


getDataMemberCount

Returns the number of well-known data members.

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