VistaDB 6
VistaDB.Provider Namespace / VistaDBConnectionStringBuilder Class / MinPoolSize Property


In This Topic
    MinPoolSize Property
    In This Topic
    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;}
    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