sdsEnableReadAccessAt

sdsEnableReadAccessAt(secondaryName: String);

The sdsEnableReadAccessAt method of the JadeDatabaseAdmin class, valid only from a primary database system, requests the granting of read access to persistent objects in the secondary database specified in the secondaryName parameter.

Read access is not granted immediately when interrupted transactions remain pending after a restart operation. Read access is granted only when all remaining interrupted transactions complete. Use the sdsGetTransactionsAt method to determine the status of active (that is, incomplete) transactions on the secondary database server.

If successful, the value of the ReadAccessDisabled parameter in the [SyncDbService] section of the JADE initialization file is updated to false on the current secondary database server so that the setting is preserved when the server restarts.

A runtime exception is raised if this method is called for a Relational Population Service (RPS) node.