Integrated Security 还可以设置为:sspi ,相当于 True,建议用这个代替 True。
2:参数Trusted_Connection
Trusted_Connection=true,将使用当前的 Windows 帐户凭据进行身份验证
Trusted_Connection=false;将不采用信任连接方式(也即不采用Windows验证方式),而改由SQL Server 2000验证方式
3:Initial Catalog是你要连接的数据库的名字
SQL Server 字符串 参数详解
标签: