SqlConnectionStringBuilder.ConnectionReset Eigenschaft

Definition

Achtung

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

Veraltet. Ruft einen booleschen Wert ab, der angibt, ob die Verbindung bei der Entnahme aus dem Verbindungspool zurückgesetzt wird, oder legt diesen Wert fest.

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

Eigenschaftswert

Boolean

Der Wert der ConnectionReset-Eigenschaft oder true, wenn kein Wert angegeben wurde.

Attribute

Hinweise

Diese Eigenschaft entspricht dem Schlüssel "Connection Reset" in der SqlConnection-Verbindungszeichenfolge, die aus der Version 3.5 SP1 von .NET Framework entfernt wurde.

Gilt für

Siehe auch