A new type is added to the SOURCE_TYPE column of the SOURCES rowset:
#define DBSOURCETYPE_DATASOURCE_MDP 3
This value enables an application to find out whether a row in the SOURCES rowset corresponds to an enumerator, a tabular data provider (TDP), or a multidimensional data provider (MDP).
The value DBSOURCETYPE_DATASOURCE indicates that a data source is a TDP. To make this name similar to the name introduced previously, add another define:
#define DBSOURCETYPE_DATASOURCE_TDP DBSOURCETYPE_DATASOURCE
If a data source is both a TDP and an MDP, then the sources rowset will have two rows for this data source. One row has the SOURCE_TYPE set to DBSOURCETYPE_DATASOURCE_TDP, and the other row has the SOURCE_TYPE set to DBSOURCETYPE_DATASOURCE_MDP. For more information on TDPs and MDPs, see “Registry Entries” in Chapter 2.