sdsDisableReadAccessAt

sdsDisableReadAccessAt(secondaryName: String);

The sdsDisableReadAccessAt method of the JadeDatabaseAdmin class, valid only at the primary database system, disables read access to the secondary database that has the MyName parameter value in the [SyncDbService] section of the JADE initialization file matching the name specified in the secondaryName parameter.

When read access is disabled on the secondary database, inquiry applications cannot access persistent objects resident in the database server. 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 on the specified secondary database server is updated to true 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.