Root Enumerator Object

OLE DB Programmer's Reference

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   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" in Chapter 2: Data Source and Session Objects, and "Registry Entries" in Chapter 18: Programming Considerations.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net