SqlConnectionStringBuilder.MinPoolSize Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: