簡體   English   中英

如何確定從C#的MS SQL連接中使用的身份驗證類型

[英]How to determine which kind of the authentication is using in a ms sql connection from c#

在ADO中是否有一種方法可以通過ms sql連接獲取使用哪種身份驗證? 如果我們使用Windows身份驗證或SQL身份驗證。

使用SqlConnectionStringBuilder類分析連接字符串並檢查UseIntegratedSecurityUserName屬性。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM