AutoDisconnectMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
regulates the disconnect policy
public enum AutoDisconnectMode
type AutoDisconnectMode =
Public Enum AutoDisconnectMode
- Inheritance
-
AutoDisconnectMode
Fields
Name | Value | Description |
---|---|---|
DisconnectIfPooled | 0 | after statement is executed if connection is pooled disconnect connection |
NoAutoDisconnect | 1 | don't disconnect connection |