SqlConnectionStringBuilder.ConnectionReset Propriedade

Definição

Cuidado

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

Obsoleto.Obsolete. Obtém ou define um valor booliano que indica se a conexão é redefinida quando desenhada com base no pool de conexão.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

Valor da propriedade

Boolean

O valor da ConnectionReset propriedade ou true se nenhum valor tiver sido fornecido.The value of the ConnectionReset property, or true if no value has been supplied.

Atributos

Comentários

Essa propriedade corresponde à chave "redefinição de conexão" na SqlConnection cadeia de conexão, que foi removida da versão 3,5 SP1 do .NET Framework.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.

Aplica-se a