共用方式為


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.