SQLConnectionControl ConnectionState Property Control Documentation
Gets the current state of connection.

Namespace: ZsZ_Studio.Controls
Assembly: SQL.Connection.Control (in SQL.Connection.Control.dll) Version: 1.0.4947.20663 (1.0.0.0)
Syntax

public SQLConnectionControl..::..State ConnectionState { get; }

Property Value

Type: SQLConnectionControl State
Examples

(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)
See Also