VirtualDAC

TPoolingOptions.ConnectionLifetime Property

Used to specify the maximum time during which an open connection can be used by connection pool.

Class

TPoolingOptions

Syntax

property ConnectionLifetime: integer default DefValConnectionLifetime;

Remarks

Use the ConnectionLifeTime property to specify the maximum time during which an open connection can be used by connection pool. Measured in milliseconds. Pool deletes connections with exceeded connection lifetime when TCustomDAConnection is about to close. If ConnectionLifetime is set to 0 (by default), then the lifetime of connection is infinite. ConnectionLifetime concerns only inactive connections in the pool.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback