Bagikan melalui


SqlConnectionStringBuilder.ConnectionReset Properti

Definisi

Perhatian

ConnectionReset has been deprecated. SqlConnection will ignore the 'connection reset' keyword and always reset the connection

Perhatian

ConnectionReset has been deprecated. SqlConnection will ignore the 'connection reset' keyword and always reset the connection.

Kedaluwarsa. Mendapatkan atau mengatur nilai Boolean yang menunjukkan apakah koneksi diatur ulang saat digambar dari kumpulan koneksi.

public:
 property bool ConnectionReset { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
[System.Obsolete("ConnectionReset has been deprecated.  SqlConnection will ignore the 'connection reset' keyword and always reset the connection")]
public bool ConnectionReset { get; set; }
[System.ComponentModel.Browsable(false)]
[System.Obsolete("ConnectionReset has been deprecated. SqlConnection will ignore the 'connection reset' keyword and always reset the connection.")]
public bool ConnectionReset { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("ConnectionReset has been deprecated.  SqlConnection will ignore the 'connection reset' keyword and always reset the connection")>]
member this.ConnectionReset : bool with get, set
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("ConnectionReset has been deprecated. SqlConnection will ignore the 'connection reset' keyword and always reset the connection.")>]
member this.ConnectionReset : bool with get, set
Public Property ConnectionReset As Boolean

Nilai Properti

Nilai ConnectionReset properti , atau true jika tidak ada nilai yang disediakan.

Atribut

Keterangan

Properti ini sesuai dengan kunci "Reset Koneksi" dalam SqlConnection string koneksi, yang telah dihapus dari versi 3.5 SP1 dari .NET Framework.

Berlaku untuk