DB2ConnectionStringBuilder.SSLClientHostnameValidation property

Controls hostname validation behavior at the IBM Data Server Client or at an application that connects to a server through an IBM Data Server Driver.

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Property SSLClientHostnameValidation As String
[C#]
public string SSLClientHostnameValidation {get; set;}
[C++]
public: __property String* SSLClientHostnameValidation();
public: __property void SSLClientHostnameValidation(String*);
[JScript]
public function get SSLClientHostnameValidation() : String;
public function set SSLClientHostnameValidation(String);

Property value

A string that represents the hostname validation behavior value. Basic- Hostname validation is enabled and OFF- Hostname validation is disabled. Any value other than Basic and OFF throws an error.