set_Encrypt()

SqlConnectionStringBuilder::set_Encrypt(bool) method

Toggles encryption on or off.

void System::Data::SqlClient::SqlConnectionStringBuilder::set_Encrypt(bool value)

Arguments

ParameterTypeDescription
valueboolIf true, toggles SSL on, else toggles it off.

See Also