![](/img/trans.png)
[英]How to set up a database in a LAN connection using MS SQL 2008 and MS VStudio 2010 C#?
[英]How to determine which kind of the authentication is using in a ms sql connection from c#
在ADO中是否有一種方法可以通過ms sql連接獲取使用哪種身份驗證? 如果我們使用Windows身份驗證或SQL身份驗證。
使用SqlConnectionStringBuilder
類分析連接字符串並檢查UseIntegratedSecurity
或UserName
屬性。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.