Purpose

.Mode allows you to retrieve the kernel mode (either Component or Standard) for the Session object.
 

Object Type

Session

Syntax

Variable = Session.Mode
 

Operation

Variable is an alphanumeric variable
 

Remarks

The value of this property can only be retrieved, not set.

COMPONENT
indicates that kernel execution is via the PROIV Bus.

STANDARD indicates execution is via a PROIV terminal connection.

 

Example

To retrieve the current mode:

 

$PROIVMODE = SESSION.MODE
 

Comment on this topic

Topic ID: 510069