sdsGetDatabaseRole(): Integer;
The sdsGetDatabaseRole method of the JadeDatabaseAdmin class returns an integer value that represents the database role of the server on which the method is executed.
Use the
The returned value is enumerated by the
Global Constant | Integer Value |
---|---|
SDS_RolePrimary | 1 |
SDS_RoleSecondary | 2 |
SDS_RoleUndefined (returned when the method is invoked on a non-SDS-capable or non‑RPS-capable system) | 0 |