dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteConnectionStringBuilder Class / ConnectionLifetime Property

In This Topic
    ConnectionLifetime Property
    In This Topic
    Gets or sets time span in seconds for connection to live.
    Syntax
    'Declaration
     
    Public Property ConnectionLifetime As Integer
    public int ConnectionLifetime {get; set;}

    Property Value

    Number of seconds for connection to live.
    Remarks
    When a connection is returned to the pool, its creation time is compared with the current time, and the connection is destroyed if that time span (in seconds) exceeds the value specified by Connection Lifetime. The default value is 0 (connection always returns to pool).
    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