dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnection Class / Protocol Property

In This Topic
Protocol Property (MySqlConnection)
In This Topic
Gets or sets a MySqlProtocol of the MySqlConnection.
Syntax
'Declaration
 
Public Property Protocol As MySqlProtocol
 

Property Value

One of the MySqlProtocol values. The default value is MySqlProtocol.Tcp.
Remarks

When a value is assigned to this property, the MySqlConnection is closed.

Note that some protocols are not available in Mobile edition.

See Also