SessionManager Class Members
- Last UpdatedNov 06, 2025
- 3 minute read
The following tables list the members exposed by SessionManager.
| Name | Description | |
|---|---|---|
![]() | SessionManager Constructor | The SessionManager() method is the constructor for the Session Manager class. This overload of the method is the default constructor. The fields of objects created with this constructor must be populated by the client by manually setting the properties or by calling a method that populates the object. |
| Name | Description | |
|---|---|---|
![]() | ClientType | The ClientType property contains the type of the module (e.g., Configurator, Supervisor, DataEditor, etc.) that is creating the SessionManager object. |
![]() | Database | The Database property contains the name of the MES database. |
![]() | DaysToExpire | The DaysToExpire property contains the number of days until the MES license expires. |
![]() | DbmsName | The DbmsName property contains the name of the database management system. |
![]() | DbmsVersion | The DbmsVersion property contains the version of the database management system. |
![]() | DBServer | The DBServer property contains the database server name. |
![]() | DBVersion | The DBVersion property contains the version of the MES database. |
![]() | DefDataVersion | The DefDataVersion property contains the version of the MES default data, with which the database is initially populated. |
![]() | Provider | The Provider property contains the name of the database provider. |
![]() | SessionId | The SessionId property contains the session ID. |
![]() | SPVersion | The SPVersion property contains the version of the MES stored procedures. |
| Name | Description | |
|---|---|---|
![]() | Dispose | Overloaded. Free the Timer resource used by the SessionManager class. |
![]() | EndSession | The EndSession() method ends an active session and logs off any users that logged onto entities within this session, if they have not already been logged off manually. |
![]() | StartSession | Overloaded. The StartSession() method starts a session of the client type of the session object. The method checks that a license of that type is available and, if so, uses it for the session. This overload of the method returns the session ID. |


