sdsGetDatabaseSubrole

sdsGetDatabaseSubrole(): Integer;

The sdsGetDatabaseSubrole method of the JadeDatabaseAdmin class returns an integer value that represents the database subrole of the server on which the method is executed.

Use the System class getDatabaseSubrole method to obtain the current database subrole for the JADE system in which it is executing without having to create and then delete an instance of the JadeDatabaseAdmin class.

The returned value is enumerated by 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