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.

请参阅

参考

Microsoft.SqlServer.Management.Common 命名空间