This connection level setting is applicable to the particular connection handle and, by default, all statement handles created under it. This option cannot be set at connection level after the connection to the database has been established.
DSN Option
SQLDriver/BrowseConnect() Keyword
The connection string keyword-value pair DATAENCRYPTION=YES/NO or USEDATAENCRYPTION=YES/NO can be used in the connection string of SQLDriver/BrowseConnect(), to turn data encryption ON or OFF.