Finding SQL Servers on the Network
You can use the dbserverenum function to obtain the names of servers running Microsoft® SQL Server™ 2000 either locally or over the network. For network searches, the Net-Library DLL used must support the dbserverenum function.