VistaDB 5






MinPoolSize Property
The minimum number of connections allowed in the pool. Default value is 1. Use Pooling=false if you wish to turn off connection pooling. Setting this value to 0 is not the way to turn off connection pooling.
Syntax
'Declaration
 
<System.ComponentModel.DisplayNameAttribute("Min Pool Size")>
<System.ComponentModel.DescriptionAttribute("The minimum number of connections in the connection pool.")>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
Public Property MinPoolSize As System.Integer
'Usage
 
Dim instance As VistaDBConnectionStringBuilder
Dim value As System.Integer
 
instance.MinPoolSize = value
 
value = instance.MinPoolSize
[System.ComponentModel.DisplayName("Min Pool Size")]
[System.ComponentModel.Description("The minimum number of connections in the connection pool.")]
[System.ComponentModel.RefreshProperties(RefreshProperties.All)]
public System.int MinPoolSize {get; set;}
public read-write property MinPoolSize: System.Integer; 
System.ComponentModel.DisplayNameAttribute("Min Pool Size")
System.ComponentModel.DescriptionAttribute("The minimum number of connections in the connection pool.")
System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)
public function get,set MinPoolSize : System.int
[System.ComponentModel.DisplayName("Min Pool Size")]
[System.ComponentModel.Description("The minimum number of connections in the connection pool.")]
[System.ComponentModel.RefreshProperties(RefreshProperties.All)]
public: __property System.int get_MinPoolSize();
public: __property void set_MinPoolSize( 
   System.int value
);
[System.ComponentModel.DisplayName("Min Pool Size")]
[System.ComponentModel.Description("The minimum number of connections in the connection pool.")]
[System.ComponentModel.RefreshProperties(RefreshProperties.All)]
public:
property System.int MinPoolSize {
   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