SqlConnectionStringBuilder.ConnectionReset 屬性

定義

警告

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

Obsolete. 取得或設定布爾值,指出從連接集區繪製時是否重設連接。

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

屬性值

財產價值 ConnectionReset ,若未提供價值則為真。

屬性

備註

此特性對應於 SqlConnection 連接字串 中的「連線重置」鍵,該鍵已從 .NET 框架 3.5 SP1 版本中移除。

適用於

另請參閱