SqlConnectionStringBuilder.ConnectionReset SqlConnectionStringBuilder.ConnectionReset SqlConnectionStringBuilder.ConnectionReset SqlConnectionStringBuilder.ConnectionReset Property

Definition

Warning

This API is now obsolete.

Obsolete. Gets or sets a Boolean value that indicates whether the connection is reset when drawn from the connection pool.

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

Property Value

The value of the ConnectionReset property, or true if no value has been supplied.

Remarks

This property corresponds to the "Connection Reset" key within the SqlConnection connection string, which has been removed from version 3.5 SP1 of the .NET Framework.

Applies to

See also