SDAC

TMSConnectionOptions.HostNameInCertificate Property

Specifies the host name used to validate the SQL Server TLS/SSL certificate.

Class

TMSConnectionOptions

Syntax

property HostNameInCertificate: string;

Remarks

If the HostNameInCertificate keyword is not set, the driver uses the value of the Server keyword in the connection URL as the host name for certificate validation.

Note: This property is ignored if the server certificate is trusted. If Encrypt is set to Strict, the certificate is always validated.

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