ArrayList arrSqlServer = new ArrayList();
            SQLDMO.ApplicationClass oApp = new SQLDMO.ApplicationClass();
            try
            {
                SQLDMO.NameList sList = oApp.ListAvailableSQLServers();
                if (sList != null)
                {
                    for (int i = 1; i <= sList.Count; i++)
                        arrSqlServer.Add(sList.Item(i));
                }
            }
            finally
            {
                oApp = null;
            }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
相关资源
相似解决方案