Root Enumerator Object

The OLE DB Root Enumerator Object enumerates OLE DB providers and enumerators on your system. The root enumerator traverses the registry searching for providers and enumerators listed in the registry. It has a class ID of CLSID_OLEDB_ENUMERATOR. In the rowset returned by ISourcesRowset::GetSourcesRowset, the root enumerator returns values from the registry as follows:

Column Description
SOURCES_NAME For enumerators, the value of HKEY_CLASSES_ROOT\CLSID\
EnumeratorCLSID
subkey.

For data sources, the value of HKEY_CLASSES_ROOT\CLSID\
ProviderCLSID
subkey.

SOURCES_DESCRIPTION For enumerators, the value of the HKEY_CLASSES_ROOT\CLSID\
EnumeratorCLSID\OLE DB Enumerator
subkey.

For data sources, the value of the HKEY_CLASSES_ROOT\CLSID\
ProviderCLSID\OLE DB Provider
subkey.


For more information, see “Enumerating Data Sources and Enumerators” in Chapter 2 and “Registry Entries” in Chapter 14 of the OLE DB Programmer’s Reference.