Firebird ADO.NET Provider SDK Documentation - v1.7 |
|
FbConnection.State Property
Gets the current state of the connection.
[Visual Basic]
<Browsable(Browsable:=False), _
DesignerSerializationVisibility(Visibility:=DesignerSerializationVisibility.Hidden)>
NotOverridable Public ReadOnly Property State As
ConnectionState _
[C#]
[Browsable(Browsable=False)]
[DesignerSerializationVisibility(Visibility=DesignerSerializationVisibility.Hidden)]
public
System.Data.ConnectionState State {get;}
Property Value
One of the System.Data.ConnectionState values. The default is Closed.
Implements
IDbConnection.State
Remarks
The allowed state changes are:
-
From Closed to Open, using the Open method.
-
From Open to Closed, using the Close method or the Dispose method.
See Also
FbConnection Class | FirebirdSql.Data.Firebird Namespace