摘要: using System;using System.Data.Sql;using System.Text;namespace AllSqlServer{ class Program { static void Main(string[] args) { //SQLDMO.NameList names; //SQLDMO.ApplicationClass ac = new SQLDMO.ApplicationClass(); //names = ac.ListAvailableSQLServ... 阅读全文
posted @ 2012-04-24 14:05 易水寒2012 阅读(1590) 评论(0) 推荐(1) 编辑
摘要: /// <summary> /// 获取sqlserverName(计算机名)上所有的数据库名称 /// </summary> /// <param name="sqlserverName"></param> /// <returns></returns> public static List<string> getAllDataBase(string sqlserverName) { List<string> listdatabase = new List<string& 阅读全文
posted @ 2012-04-24 14:04 易水寒2012 阅读(425) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 获取sqlserverName(计算机名)上所有的数据库名称 /// </summary> /// <param name="sqlserverName"></param> /// <returns></returns> public static List<string> getAllDataBase(string sqlserverName) { List<string> listdatabase = new List<string& 阅读全文
posted @ 2012-04-24 14:02 易水寒2012 阅读(1175) 评论(0) 推荐(0) 编辑