MinPoolSize Property

SqlConnectionStringBuilder.MinPoolSize Property


Gets or sets the minimum number of connections allowed in the connection pool for this specific connection string.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public int MinPoolSize { get; set; }

Property Value

Type: System.Int32

The value of the MinPoolSize property, or 0 if none has been supplied.

This property corresponds to the "Min Pool Size" key within the connection string.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft