PoolMaxSize
Specifies the maximum number of connections allowed in the connection pool. The default value is 100. Set to 0 or a negative value to disable pooling.
Data Type
int
Default Value
100
Remarks
This property defines the maximum number of active connections that can be maintained in the connection pool. This property is applicable only when UseConnectionPooling is set to true. When the limit is reached, new connection requests must wait for an existing connection to be released back into the pool.
Disabling the connection pool by setting the property to 0 or a negative value can simplify connection management but may lead to reduced performance in high-traffic scenarios. This property is useful for optimizing resource utilization and ensuring that the application does not exceed server or network limits.