如何在运行时使用ADO.NET检索服务器名称和密码? [英] How to retrieve Server Name and password in runtime using ADO.NET?
本文介绍了如何在运行时使用ADO.NET检索服务器名称和密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿,
我想在我的应用程序运行时检索SQL Server名称和密码...如何完成... ????请帮助我..
hey,
i want to retrieve SQL server name and password during runtime of my application...how can i get it done...???? plz help me..
推荐答案
您可以使用代码 ^ ].
无法获取密码.那将是安全漏洞.
You can get the list of server instances running on a local network by using the code here[^].
There is no way to get the passwords. That would be a security breach.
这篇关于如何在运行时使用ADO.NET检索服务器名称和密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文