Redigera

Dela via


SqlConnectionStringBuilder.ConnectionReset Property

Definition

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")>]
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.

Applies to

See also