Gets the current state of connection.
Namespace: ZsZ_Studio.ControlsAssembly: SQL.Connection.Control (in SQL.Connection.Control.dll) Version: 1.0.4947.20663 (1.0.0.0)
public SQLConnectionControl..::..State ConnectionState { get; }
public SQLConnectionControl..::..State ConnectionState { get; }
Public ReadOnly Property ConnectionState As SQLConnectionControl..::..State
Get
Public ReadOnly Property ConnectionState As SQLConnectionControl..::..State
Get
public:
property SQLConnectionControl..::..State ConnectionState {
SQLConnectionControl..::..State get ();
}
public:
property SQLConnectionControl..::..State ConnectionState {
SQLConnectionControl..::..State get ();
}
Property Value
Type:
SQLConnectionControl State (VB.NET) This sample shows how to get the connection state.
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)
Dim currentstate As ZsZ_Studio.Controls.SQLConnectionControl.State
currentstate = scc.ConnectionState
Me.Controls.Add(scc)
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)
Dim currentstate As ZsZ_Studio.Controls.SQLConnectionControl.State
currentstate = scc.ConnectionState
Me.Controls.Add(scc)