Link to home
Start Free TrialLog in
Avatar of DavidJ-Zonal
DavidJ-Zonal

asked on

Finding SQL Servers on a network

Hello,

Does anybody know of a way of returning a list of all SQL Servers on the local network?  I need to be able to give the user a drop down list, similar to the one in the SQL Server Registration box in Enterprise Manager.

Any clues?

Cheers,
Avatar of nestorua
nestorua

HI,
Use the function NetServerEnum. It does exactly what you want.
Sincerely,
Nestorua.
ASKER CERTIFIED SOLUTION
Avatar of geobul
geobul

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DavidJ-Zonal

ASKER

Fantastic- Just what I needed...

Cheers.