Product Information > JADE Encyclopaedia of Classes – Volume 2 > Chapter 1 - System Classes > getDatabaseSubrole

getDatabaseSubrole

getDatabaseSubrole(): Integer;

The getDatabaseSubrole method of the System class returns an integer value that represents the database subrole of the server node on which the JADE system is running.

This method is not available on a Compact JADE node, where it would result in a 1068 - Feature not available exception.

The returned value is one of the SDSDatabaseRoles category global constants listed in the following table.

Global Constant Integer Value
SDS_RoleUndefined (returned when the method is invoked on a non-SDS-capable or non‑RPS‑capable system) 0
SDS_SubroleNative 1
SDS_SubroleRelational 2