You can use the dbserverenum function to obtain the names of SQL Servers either locally or over the network. For network searches, the Net-Library DLL used must support the dbserverenum function.