Bagikan melalui


DbConnection.State Properti

Definisi

Mendapatkan string yang menjelaskan status koneksi.

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

Nilai Properti

Status koneksi. Format string yang dikembalikan tergantung pada jenis koneksi tertentu yang Anda gunakan.

Penerapan

Atribut

Berlaku untuk

Lihat juga