Share via


SqlConnectionStringBuilder.ConnectionReset プロパティ

定義

注意事項

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")>]
member this.ConnectionReset : bool with get, set
Public Property ConnectionReset As Boolean

プロパティ値

ConnectionReset プロパティの値。値が指定されていない場合は true。

属性

注釈

このプロパティは、SqlConnection 接続文字列内の "Connection Reset" キーに対応しています。このキーは .NET Framework Versopm 3.5 SP1 で削除されています。

適用対象

こちらもご覧ください