Leer en inglés Editar

Compartir a través de


Session.CurrentExecutionMode() Method

Version: Available or changed with runtime version 1.0.

Specifies the mode in which the session is running.

Syntax

ExecutionMode :=   Session.CurrentExecutionMode()

Nota

This method can be invoked without specifying the data type name.

Return Value

ExecutionMode
 Type: ExecutionMode
The mode in which the session is running.

Example

This example requires that you create a variable named Mode that has a DataType of ExecutionMode.

Mode := CurrentExecutionMode;   
Message('Current execution mode is %1.', Mode); 

Session Data Type
Get Started with AL
Developing Extensions