VistaDB 5






ConnectTimeout Property
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;}
public read-write property ConnectTimeout: System.Integer; 
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 function get,set ConnectTimeout : System.int
[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: __property System.int get_ConnectTimeout();
public: __property void set_ConnectTimeout( 
   System.int value
);
[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:
property System.int ConnectTimeout {
   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