MDAC 2.5 SDK - OLE DB Providers
OLE DB Provider for SQL Server


 

SQLOLEDB Enumerator

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®/Windows 2000 operating system.)

See Also

How to Enumerate OLE DB Data Sources (OLE DB)