IsClusterReplication (NotesDatabase - JavaScript™)
Read-write. Indicates whether cluster replication is in effect for a database on a server in a cluster.
Defined in
NotesDatabaseSyntax
isClusterReplication() : boolean
Legal value | Description |
---|---|
true |
if cluster replication is in effect |
false |
if cluster replication is not in effect |
Usage
The database must be open to use this property.Examples
This button interrogates cluster replication for a database.var server = "Acme2/Acme";
var dbname = "inv\\boltsetc";
var db:NotesDatabase = session.getDatabase(server, dbname);
requestScope.status = db.getTitle() + "\n";
if (db.isClusterReplication()) {
requestScope.status += "Cluster replication is on";
} else {
requestScope.status += "Cluster replication is off";
}