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 provider data source objects and enumerators listed in the registry.

In the rowset returned by ISourcesRowset::GetSourcesRowset, the root enumerator returns values from the registry as indicated in the following table. Each row in the rowset describes a single enumerator or data source object.

Note Note

The root enumerator has the class ID CLSID_OLEDB_ENUMERATOR.

Column

Description

SOURCES_NAME

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

For provider data source objects, the value of the HKEY_CLASSES_ROOT\CLSID\ProviderCLSID subkey.

SOURCES_DESCRIPTION

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

For provider data source objects, the value of the HKEY_CLASSES_ROOT\CLSID\ProviderCLSID\OLE DB Provider subkey.

For more information, see Enumerating Data Source Objects and Enumerators and Registry Entries.

Show:
© 2014 Microsoft