c# - How to set connection string database TDE with certificate provide -
i have local database certificate protect security of database. try using normal connection string connect, failed due database had set on security. how connect database c# if in application provide certificate , password well? our connection string now.
global.connstring = string.format(@"server=(localdb)\v11.0;attachdbfilename={0}\testtde\{1};integrated security=sspi;multipleactiveresultsets=true;packet size=4096", environment.getfolderpath(environment.specialfolder.mydocuments), "tdetesting.mdf");
you can set username="username use connect database" password="its password" inside connection string. try removing integrated security
Comments
Post a Comment