AutoDisconnectMode Enumeration

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

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

public enum AutoDisconnectMode

Member nameDescription
DisconnectIfPooledThe connection is disconnected from the instance of SQL Server if the connection is pooled.
NoAutoDisconnectThe connection is not disconnected automatically.

The AutoDisconnectMode enumeration is served by the ConnectionManager object.

Community Additions