Data.SqlExpr.EConnectFlag
Delphi
EConnectFlag = (eConnect, eReconnect, eDisconnect);
C++
enum DECLSPEC_DENUM EConnectFlag : unsigned char { eConnect, eReconnect, eDisconnect };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | Data.SqlExpr |
Description
Represents a connection flag.
EConnectFlag is used by TSQLConnection when it checks the connection to connect, reconnect, or disconnect.
EConnectFlag can take 3 values:
| Value | Description |
|---|---|
|
eConnect |
Used to open the connection. |
|
eReconnect |
Used to close and then open the connection. |
|
eDisconnect |
Used to close the connection. |