dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnectionStringBuilder Class / KeepAlive Property

In This Topic
    KeepAlive Property (MySqlConnectionStringBuilder)
    In This Topic
    Specifies whether to send TCP keep-alive packets and the interval at which they are sent in seconds. Default value is 0, which means that the packets are not sent.
    Syntax
    'Declaration
     
    Public Property KeepAlive As Integer
    public int KeepAlive {get; set;}

    Property Value

    Interval in seconds between sending TCP keep-alive packets.
    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