SqlConnectionStringBuilder.ConnectionReset 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
ConnectionReset has been deprecated. SqlConnection will ignore the 'connection reset' keyword and always reset the connection
警告
ConnectionReset has been deprecated. SqlConnection will ignore the 'connection reset' keyword and always reset the connection.
已過時。 取得或設定布林值,指出從連接集區提取時是否重設連接。
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
屬性值
ConnectionReset 屬性的值,如果未提供任何值則為 true。
- 屬性
備註
這個屬性會對應至 SqlConnection 連接字串內的 "Connection Reset" 索引鍵,該索引鍵已從 .NET Framework 3.5 SP1 版本中移除。