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 . SqlDataSourceEnumerator is a class that provides a mechanism...
Posted to
Keith Rull
by
keithrull
on 12-11-2007
Filed under: C#, PInvoke, SqlDataSourceEnumerator, NetServerEnum, SQL Server