sdsDisableReadAccess

sdsDisableReadAccess();

The sdsDisableReadAccess method of the JadeDatabaseAdmin class, valid only if called from a secondary database system, disables read access to persistent objects in the database.

When read access is disabled, inquiry applications are not allowed access to persistent objects resident in the database. Any attempt by a user application to access persistent objects when read access is disabled raises an exception.

If successful, the value of the ReadAccessDisabled parameter in the [SyncDbService] section of the JADE initialization file is updated to true 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.