MDAC 2.5 SDK - OLE DB Providers
OLE DB Provider for SQL Server
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.