Click to Rate and Give Feedback
MSDN
MSDN Library
Microsoft OLE DB
OLE DB Core
 Root Enumerator Object
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.

NoteNote

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.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker