VistaDB 5






MaxPoolSize Property
The maximum number of connections allowed in the pool.
Syntax
'Declaration
 
<System.ComponentModel.DisplayNameAttribute("Max Pool Size")>
<System.ComponentModel.DescriptionAttribute("The maximum number of connections stored in the connection pool")>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
Public Property MaxPoolSize As System.Integer
'Usage
 
Dim instance As VistaDBConnectionStringBuilder
Dim value As System.Integer
 
instance.MaxPoolSize = value
 
value = instance.MaxPoolSize
[System.ComponentModel.DisplayName("Max Pool Size")]
[System.ComponentModel.Description("The maximum number of connections stored in the connection pool")]
[System.ComponentModel.RefreshProperties(RefreshProperties.All)]
public System.int MaxPoolSize {get; set;}
public read-write property MaxPoolSize: System.Integer; 
System.ComponentModel.DisplayNameAttribute("Max Pool Size")
System.ComponentModel.DescriptionAttribute("The maximum number of connections stored in the connection pool")
System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)
public function get,set MaxPoolSize : System.int
[System.ComponentModel.DisplayName("Max Pool Size")]
[System.ComponentModel.Description("The maximum number of connections stored in the connection pool")]
[System.ComponentModel.RefreshProperties(RefreshProperties.All)]
public: __property System.int get_MaxPoolSize();
public: __property void set_MaxPoolSize( 
   System.int value
);
[System.ComponentModel.DisplayName("Max Pool Size")]
[System.ComponentModel.Description("The maximum number of connections stored in the connection pool")]
[System.ComponentModel.RefreshProperties(RefreshProperties.All)]
public:
property System.int MaxPoolSize {
   System.int get();
   void set (    System.int value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also