Windows7 64位中的数据库列表 [英] Database listing in Windows7 64-bit

查看:81
本文介绍了Windows7 64位中的数据库列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



通过C#代码,我需要通过在Windows7 64位计算机上提供服务器名称,用户名和密码来在combo_box中列出sql服务器数据库.谁能帮我做到这一点...?

谢谢
Anish

Hi,

Through C# code I need to list the sql server databases in combo_box by providing server name, user name and password in Windows7 64-bit machine. Can anyone help me to do this...??

Thanks
Anish

推荐答案

您可以使用 SQL Server管理对象 [ ^ ]到获取已安装的实例,但您将无法获得任何密码.
You can use SQL Server management Objects[^] to get the installed instances but you will not be able to get any password.


这篇关于Windows7 64位中的数据库列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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