DbConnection.State Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that describes the state of the connection.
public:
abstract property System::Data::ConnectionState State { System::Data::ConnectionState get(); };
public abstract System.Data.ConnectionState State { get; }
[System.ComponentModel.Browsable(false)]
public abstract System.Data.ConnectionState State { get; }
member this.State : System.Data.ConnectionState
[<System.ComponentModel.Browsable(false)>]
member this.State : System.Data.ConnectionState
Public MustOverride ReadOnly Property State As ConnectionState
Property Value
The state of the connection, for example, open or closed.
Implements
- Attributes
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.