Each OLE DB provider has an enumerator that a consumer can call to get a list of data sources the consumer can access with that provider. The SQLOLEDB provider has an enumerator that lists all servers you can connect to with this provider.
For a client running on the Microsoft® Windows® 95/98 operating system, the SQLOLEDB enumerator cannot enumerate the list of servers running Microsoft SQL Server™ because the enumerator uses the NetServerEnum API. This API is not available for Windows 95/98 (it is available only for the Microsoft Windows NT® operating system).
To enumerate OLE DB data sources