SqlConnectionStringBuilder.ConnectionReset 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 ;如果未提供任何值,则为 true。
- 属性
注解
此属性对应于 SqlConnection 连接字符串 中的“连接重置”密钥,该密钥已从 .NET Framework 的版本 3.5 SP1 中删除。