Bagikan melalui


StateChangeEventArgs.CurrentState Properti

Definisi

Mendapatkan status baru koneksi. Objek koneksi akan berada dalam status baru saat peristiwa diaktifkan.

public:
 property System::Data::ConnectionState CurrentState { System::Data::ConnectionState get(); };
public System.Data.ConnectionState CurrentState { get; }
member this.CurrentState : System.Data.ConnectionState
Public ReadOnly Property CurrentState As ConnectionState

Nilai Properti

Salah ConnectionState satu nilai.

Berlaku untuk