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
    public MySqlProtocol Protocol {get; set;}

    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.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also