SDAC

TCustomDAConnection.PoolingOptions Property

Specifies the behaviour of connection pool.

Class

TCustomDAConnection

Syntax

property PoolingOptions: TPoolingOptions;

Remarks

Set the properties of PoolingOptions to specify the behaviour of connection pool.

Descriptions of all options are in the table below.

Option Name Description
ConnectionLifetime Used to specify the maximum time during which an open connection can be used by connection pool.
MaxPoolSize Used to specify the maximum number of connections that can be opened in connection pool.
MinPoolSize Used to specify the minimum number of connections that can be opened in the connection pool.
PoolId Used to specify an ID for a connection pool.
Validate Used for a connection to be validated when it is returned from the pool.

See Also

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