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

In This Topic
    PingInterval Property (MySqlConnectionStringBuilder)
    In This Topic
    Gets or sets the interval (in seconds) between pinging MySQL server and reopening the connection if required.
    Syntax
    'Declaration
     
    Public Property PingInterval As Integer
    public int PingInterval {get; set;}

    Property Value

    The number of seconds to wait for a connection to ping. The default value is 0 seconds.
    Remarks
    The 0 value indicates that there is no pingign of MySQL server performed. The -1 value indicates that the value of the 'wait_timeout' or 'interactive_timeout' (if using interactive connection) varibale is obtained from the server and is used as timeout.
    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