public string[] GetServerList() { List<string> result = new List<string>(); foreach(DataRow row in SmoApplication.EnumAvailableSqlServers().Rows) { result.Add(row["Name"] as string); } return result.ToArray(); }