ConnectionSettings.PooledConnectionLifetime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. Exceptions: ConnectionCannotBeChangedException InvalidPropertyValueException
public int PooledConnectionLifetime { get; set; }
member this.PooledConnectionLifetime : int with get, set
Public Property PooledConnectionLifetime As Integer