Udostępnij za pośrednictwem


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)

Syntax

'Deklaracja
Public Enumeration AutoDisconnectMode
public enum AutoDisconnectMode
public enum class AutoDisconnectMode
public enum AutoDisconnectMode
public enum AutoDisconnectMode

Members

Member name Description
DisconnectIfPooled The connection is disconnected from the instance of SQL Server if the connection is pooled.
NoAutoDisconnect The connection is not disconnected automatically.

Remarks

The AutoDisconnectMode enumeration is served by the ConnectionManager object.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.