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 свойства или значение true, если значение не задано.

Атрибуты

Комментарии

Это свойство соответствует ключу "Сброс подключения" в SqlConnection строка подключения, который был удален из версии 3.5 с пакетом обновления 1 (SP1) платформы .NET Framework.

Применяется к

См. также раздел