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, если значение не указано.

Атрибуты

Комментарии

Это свойство соответствует ключу «Connection Reset» в строке подключения SqlConnection, которая была удалена в версии 3,5 с пакетом обновления 1 (SP1) платформы .NET Framework.

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

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