SqlConnectionStringBuilder.ConnectionReset Właściwość

Definicja

Przestroga

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

Nieaktualne. Pobiera lub ustawia wartość logiczną wskazującą, czy połączenie jest resetowane podczas pobierania z puli połączeń.

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")>]
member this.ConnectionReset : bool with get, set
Public Property ConnectionReset As Boolean

Wartość właściwości

Wartość ConnectionReset właściwości lub true, jeśli nie podano żadnej wartości.

Atrybuty

Uwagi

Ta właściwość odpowiada kluczowi "Resetowanie połączenia" w SqlConnection parametry połączenia, który został usunięty z wersji 3.5 SP1 .NET Framework.

Dotyczy

Zobacz też