views:

156

answers:

2

What is the proper way using .NET to discover the Microsoft SQL Servers on your internal network? I think the SQL Management interface back in the SQL Server 7 days gave you a list of servers in a dropdown. How could I do the same thing with .NET 3.5.

+2  A: 

SQL Server Browser Service http://msdn.microsoft.com/en-us/library/ms181087.aspx

Cade Roux
+1  A: 

You can enumerate them thusly

cmsjr