如何检测连接到系统的MS SQL Server名称 [英] How to detect MS SQL Server names connected to system

查看:88
本文介绍了如何检测连接到系统的MS SQL Server名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想构建一个应用程序,其中用户可以从下拉列表中使用MS SQL Server名称,具体取决于所选的服务器名称,他可以选择在所选的MS SQL Server中存在的数据库.简而言之,它必须类似于.NET的测试连接"对话框.

I want to build an application in which an user can use a MS SQL Server name from the drop-down depending upon selected server name he can select the database persent in the selected MS SQL Server. In short it must be similar to the test connection dialog box of .NET

推荐答案

这是您想要的
http://blogs.msdn.com/sushilc/archive/2004/10/14/242395.aspx [ ^ ]
here is what u want
http://blogs.msdn.com/sushilc/archive/2004/10/14/242395.aspx[^]


这篇关于如何检测连接到系统的MS SQL Server名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆