Поделиться через


Перечисление AutoDisconnectMode

Contains values that are used to specify the automatic disconnection options for a connection to an instance of SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Enumeration AutoDisconnectMode
'Применение
Dim instance As AutoDisconnectMode
public enum AutoDisconnectMode
public enum class AutoDisconnectMode
type AutoDisconnectMode
public enum AutoDisconnectMode

Элементы

Имя элемента Описание
DisconnectIfPooled The connection is disconnected from the instance of SQL Server if the connection is pooled.
NoAutoDisconnect The connection is not disconnected automatically.

Замечания

The AutoDisconnectMode enumeration is served by the ConnectionManager object.