server = "hostname"; database = "sqlserver"; uid = "sqlserver"; password = "password"; cert_file = "client-cert.pfx"; string connectionString; connectionString = "SERVER=" + server + ";" + "DATABASE=" + database + ";" + "UID=" + uid + "; CertificateFile=" + cert_file + "; CertificatePassword=admin; SslMode=Required";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)