SqlConnection::State Property
.NET Framework (current version)
Indicates the state of the SqlConnection during the most recent network operation performed on the connection.
Assembly: System.Data (in System.Data.dll)
public: [BrowsableAttribute(false)] property ConnectionState State { virtual ConnectionState get() override; }
Implements
IDbConnection::StateReturns an ConnectionState enumeration indicating the state of the SqlConnection. Closing and reopening the connection will refresh the value of State.
.NET Framework
Available since 1.1
Available since 1.1
Show: