Condividi tramite


SqlConnectionStringBuilder.ConnectionReset Proprietà

Definizione

Attenzione

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

Attenzione

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

Obsoleta. Ottiene o imposta un valore booleano che indica se la connessione viene reimpostata quando viene creata dal pool di connessioni.

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

Valore della proprietà

Valore della proprietà ConnectionReset o true se non è stato fornito alcun valore.

Attributi

Commenti

Questa proprietà corrisponde alla chiave "Connection Reset" all'interno della stringa di connessione SqlConnection eliminata dalla versione 3.5 SP1 di .NET Framework.

Si applica a