SDAC

TMSOLEDBEncryptType Enumeration

Specifies the type of the TMSConnectionOptions.MSOLEDBEncryptType property that supports the SQL Server native values for Encrypt Connection.

Unit

MSClasses

Syntax

TMSOLEDBEncryptType = (etOptional, etMandatory, etStrict);

Values

Value Meaning
etMandatory Uses TDS 7.x with the TLS/SSL encryption. Encryption is required for all data sent between the client and the server, provided the server has a valid certificate installed.
etOptional Uses TDS 7.x. Encryption is allowed but not required by the client; it is used only when the SQL Server requires it.
etStrict Uses TDS 8.0, which enforces the strictest encryption rules for all data exchanged between the client and the server.

Remarks

TMSOLEDBEncryptType specifies the type of the TMSConnectionOptions.MSOLEDBEncryptType property, corresponding to the SQL Server native Encrypt Connection values ("Optional," "Mandatory," and "Strict").

See Also

© 1997-2025 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback