Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the maximum number of connections in a connection pool that the specified connection accepts when establishing a connection with a server.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Property MaxPoolSize As Integer
Get
Set
'Usage
Dim instance As ConnectionSettings
Dim value As Integer
value = instance.MaxPoolSize
instance.MaxPoolSize = value
public int MaxPoolSize { get; set; }
public:
property int MaxPoolSize {
int get ();
void set (int value);
}
member MaxPoolSize : int with get, set
function get MaxPoolSize () : int
function set MaxPoolSize (value : int)
Property Value
Type: Int32
An Int32 value that specifies the maximum number of connections in a connection pool.