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


In This Topic
    ConnectTimeout Property
    In This Topic
    The maximum time in seconds to wait for a valid connection. By default we do not wait at all. If there are no open connection pool slots available we return immediately with failure.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DisplayNameAttribute("Connect Timeout")>
    <System.ComponentModel.DescriptionAttribute("The maximum number of seconds to wait for a valid connection")>
    <System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
    Public Property ConnectTimeout As System.Integer
    'Usage
     
    
    Dim instance As VistaDBConnectionStringBuilder
    Dim value As System.Integer
     
    instance.ConnectTimeout = value
     
    value = instance.ConnectTimeout
    [System.ComponentModel.DisplayName("Connect Timeout")]
    [System.ComponentModel.Description("The maximum number of seconds to wait for a valid connection")]
    [System.ComponentModel.RefreshProperties(RefreshProperties.All)]
    public System.int ConnectTimeout {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