Enumerating OLE DB Data Sources

How to Install SQL Server 2000

How To

Enumerating OLE DB Data Sources

SQLOLEDB has an enumerator that a consumer can call to search for accessible data sources. Consumers should use enumerators to search for data sources, rather than searching the registry directly. In that way, the consumers will continue to work if the registry information changes.