Edit

Share via


ConnectionPool.MaximumNumberOfConnections Property

Definition

Gets or sets the pool size. This indicates the maximum number of connections desired in the pool.

public:
 property int MaximumNumberOfConnections { int get(); void set(int value); };
public int MaximumNumberOfConnections { get; set; }
member this.MaximumNumberOfConnections : int with get, set
Public Property MaximumNumberOfConnections As Integer

Property Value

Exceptions

Thrown when the value given is negative or zero.

Applies to