Sql server连接字符串 [英] Sql server connection string

查看:76
本文介绍了Sql server连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现一个登录密码丢失的问题。我在下面的链接中找到了

OdbcConnection.ConnectionString属性(System.Data.Odbc) [ ^ ]



I have found one issue for login where password missing.I found below from link
OdbcConnection.ConnectionString Property (System.Data.Odbc)[^]

The .NET Framework Data Provider for ODBC does not support the Persist Security Info keyword that is supported by other .NET Framework data providers. However, the ConnectionString property behaves as if Persist Security Info were set to false. This means that you cannot retrieve the password from the ConnectionString property if the connection has been opened. When the ConnectionString property is read from an OdbcConnection object that has been opened, the connection string is returned minus the password. You cannot change this behavior; therefore, if the application requires the password, store it separately before calling Open.





您能否详细说明具体内容例如?



我尝试了什么:



找出谷歌链接但仍然不理解



can you please specified what actually it says in details with example?

What I have tried:

find out the google link but still not understand

推荐答案

如果你想连接到Sql Server,试试这个: SQL Server连接字符串 - ConnectionStrings.com [ SqlConnection类<> / a> [ ^ ]。
If you woould like to connect to Sql Server, try this: SQL Server connection strings - ConnectionStrings.com[^] within SqlConnection class[^].


这篇关于Sql server连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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