Compartilhar via


SqlConnectionStringBuilder.ConnectionReset Propriedade

Definição

Cuidado

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

Cuidado

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

Obsoleto. Obtém ou define um valor booliano que indica se a conexão é redefinida quando desenhada com base no pool de conexão.

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

Valor da propriedade

O valor da ConnectionReset propriedade ou true se nenhum valor tiver sido fornecido.

Atributos

Comentários

Essa propriedade corresponde à chave "Redefinição de Conexão" dentro da SqlConnection cadeia de conexão, que foi removida da versão 3.5 SP1 do .NET Framework.

Aplica-se a