Visual Basic (Declaration) | |
---|---|
Public Property ConnectionLifetime As Integer |
C# | |
---|---|
public int ConnectionLifetime {get; set;} |
Property Value
Number of seconds for connection to live.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
Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.