Freigeben über


getHostNameInCertificate Method (SQLServerDataSource)

Returns the host name used in validating the SQL Server Secure Sockets Layer (SSL) certificate.

public java.lang.String getHostNameInCertificate()

Rückgabewert

A String that contains the host name, or null if no value is set.

Hinweise

The host name is used to validate the SQL Server SSL certificate value when the communication layer is encrypted using SSL.

If the host name is not set, the getHostNameInCertificate method returns null.

Siehe auch

Verweis

SQLServerDataSource Class

Konzepte

SQLServerDataSource Methods
SQLServerDataSource Members