Compartilhar via


Enumeração AutoDisconnectMode

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 (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public Enumeration AutoDisconnectMode
'Uso
Dim instance As AutoDisconnectMode
public enum AutoDisconnectMode
public enum class AutoDisconnectMode
type AutoDisconnectMode
public enum AutoDisconnectMode

Membros

Nome do membro Descrição
DisconnectIfPooled The connection is disconnected from the instance of SQL Server if the connection is pooled.
NoAutoDisconnect The connection is not disconnected automatically.

Comentários

The AutoDisconnectMode enumeration is served by the ConnectionManager object.