The global constants for the Synchronized Database Service (SDS) database roles are listed in the following table.
| 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 |
| SDS_SubroleNative | 1 |
| SDS_SubroleRelational | 2 |
These are used in return values or dynamic object attribute values by the