Dim instance As SqlDataSourceEnumerator = SqlDataSourceEnumerator.Instance Dim dt As DataTable = instance.GetDataSources() For Each row As System.Data.DataRow In dt.Rows Console.WriteLine("ServerName = {0}", row("ServerName")) Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)