SqlConnectionStringBuilder.Pooling Property


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 a Boolean value that indicates whether the connection will be pooled or explicitly opened every time that the connection is requested.

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

public bool Pooling { get; set; }

Property Value

Type: System.Boolean

The value of the Pooling property, or true if none has been supplied.

This property corresponds to the "Pooling" key within the connection string.

.NET Framework
Available since 2.0
Return to top