![]() |
Cloudsync Properties
|
|
cloudscape.database.readAccessTargetFunctionThe cloudscape.database.readAccessTarget property specifies whether target writes (that is, INSERTs, UPDATEs, and DELETEs) are prevented. It has two possible values: true and false. The default is false. If cloudscape.database.readAccessTarget is set to true, the target database can still be refreshed from the source, but it cannot be altered by target-side statements. The only way to set the cloudscape.database.readAccessTarget property is to publish it using the ADD TARGET DATABASE PROPERTY of CREATE PUBLICATION. Once published, this property cannot be altered. cloudscape.database.readAccessTarget can only be set for a target database. A read-access target is useful when the target displays data but is not allowed to update anything. NOTE: The cloudscape.database.readAccessTarget property optimizes the refresh operation. You could also disable target updates by configuring the target as a read-only database, but that would not optimize the refresh operation. If cloudscape.database.readAccessTarget is set to true, Database.isReadOnly returns true, even though the database can be updated by a refresh. This is so applications that use Database.isReadOnly know they cannot issue INSERTs, UPDATEs, and DELETEs. Syntax
CREATE PUBLICATION pubname DefaultExample
CREATE PUBLICATION mypub Scope |
|
![]() Cloudscape Version 3.6 For information about Cloudscape technical support, go to: www.cloudscape.com/support/.Copyright © 1998, 1999, 2000 Informix Software, Inc. All rights reserved. |