List of Server Names

  • Thread starter Thread starter JB
  • Start date Start date
J

JB

I'm trying to find out how to create a drop down that lists the Server Names
on the network. Much like Sql Server does when choosing some kind of
connection, it seems to autodetect them, so I'm assuming I can replicate
this. Any body direct me on how to do that?

Jason
 
JB,

If you just want the list of SQL servers, then you can use the SQLDMO
object through COM interop. There is a method on it which will get you a
list of SQL servers on the network.

Hope this helps.
 
Back
Top