SqlConnectionStringBuilder.ConnectionReset Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
ConnectionReset has been deprecated. SqlConnection will ignore the 'connection reset' keyword and always reset the connection
Caution
ConnectionReset has been deprecated. SqlConnection will ignore the 'connection reset' keyword and always reset the connection.
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; }
[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
Property Value
The value of the ConnectionReset property, or true if no value has been supplied.
- Attributes
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.