dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnectionStringBuilder 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
    public int MaxPoolSize {get; set;}

    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 SQL Server waits 30 seconds for pool to allocate free connection. If no other connection is closed during the wait period, InvalidOperation exception is raised.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also