Gets or sets the connection timeout of connection in seconds.
Namespace: ZsZ_Studio.ControlsAssembly: SQL.Connection.Control (in SQL.Connection.Control.dll) Version: 1.0.4947.20663 (1.0.0.0)
public byte ConnectionTimeOut { get; set; }
public byte ConnectionTimeOut { get; set; }
Public Property ConnectionTimeOut As Byte
Get
Set
Public Property ConnectionTimeOut As Byte
Get
Set
public:
property unsigned char ConnectionTimeOut {
unsigned char get ();
void set (unsigned char value);
}
public:
property unsigned char ConnectionTimeOut {
unsigned char get ();
void set (unsigned char value);
}
Property Value
Type:
ByteThe connection attempt cannot be canceled. The timeout determines the amount of time until the process is trying to connect to the database.
(VB.NET) This sample shows how to set the connection timeout.
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)
scc.ConnectionTimeOut = 15
Me.Controls.Add(scc)
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)
scc.ConnectionTimeOut = 15
Me.Controls.Add(scc)