Datasnap.DSSession.TDSSessionStatus
Delphi
TDSSessionStatus = (Active, Closed, Idle, Terminated, Connected, Expired);
C++
enum DECLSPEC_DENUM TDSSessionStatus : unsigned char { Active, Closed, Idle, Terminated, Connected, Expired };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | Datasnap.DSSession.pas Datasnap.DSSession.hpp |
Datasnap.DSSession | Datasnap.DSSession |
Description
Represents the type of the session status.
Use a variable of type TDSSessionStatus to specify the current status of the session. The following table lists the possible values for a TDSSessionStatus variable and their meanings.
| Value | Meaning |
|---|---|
|
Active |
The session is active. |
|
Closed |
The communication channel for the session is closed. |
|
Idle |
The session did not have any activity for a number of seconds. |
|
Terminated |
The session is finished. |
|
Connected |
The session is connected. |