System::Data::SqlClient::SqlConnectionStringBuilder::set_TrustServerCertificate method

SqlConnectionStringBuilder::set_TrustServerCertificate method

Determines whether connection is protected using trust server certificate.

void System::Data::SqlClient::SqlConnectionStringBuilder::set_TrustServerCertificate(bool value)
ParameterTypeDescription
valueboolIf true, enables trust server certificate usage, otherwise disables it.

See Also