dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnectionStringBuilder Class / MaxPoolSize Property

In This Topic
MaxPoolSize Property
In This Topic
The maximum number of connections allowed in the pool.
Syntax
'Declaration
 
Public Property MaxPoolSize As Integer
 

Property Value

Number of connections allowed in the pool. The default value is 100.
Remarks
Setting the Max Pool Size value of the ConnectionString can affect performance.

If you exceed maximum pool size when opening a connection, dotConnect for MySQL waits 30 seconds for pool to allocate free connection. If no other connection is closed during the wait period, InvalidOperation exception is raised.

See Also