List SQL Servers using SqlDataSourceEnumerator

I wrote an article a few years ago using SQL SMO and just realized today that I can also list SQL Severs without importing an additional assembly to my project(Microsoft.SqlServer.Management.Smo) by using the SqlDataSourceEnumerator class.

You can read the full article about this topic in my website.

Microsoft Lovin'

Somebody gave me some Microsoft Goodies read here to learn who!

Crossposting @ GeeksWithBlogs

Wooohooo! I'm now crossposting here thanks to Jeff and the whole GeeksWithBlogs team.