SslMode Property

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Indicates whether to use SSL connections and how to handle server certificate errors.

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0

Syntax

C#
public MySqlSslMode SslMode { get; set; }
Visual Basic
Public Property SslMode As MySqlSslMode
	Get
	Set
Visual C++
public:
property MySqlSslMode SslMode {
	MySqlSslMode get ();
	void set (MySqlSslMode value);
}

See Also