IsReplicated
Description
Returns True if the current database has at lease two replicated sites.
Note: This method became available in version 2002.05.00.
Syntax
VBScript
session.IsReplicated
Perl
$session->IsReplicated
();
- Identifier
- Description
- session
- The Session object that represents the current database-access session.
- userName
- A String containing the name you want to give to the new user.
- Return value
- Returns True if the current database has at lease two replicated sites.
Examples
Perl
use CQPerlExt;
my $sess;
my $entity;
$sess = CQSession::Build();
$sess->UserLogon("admin", "", "MULTI", "CQMS.MS_ACCESS.SITEA");
if ($sess->IsReplicated()) {
# print out the local replica name
$entity = $sess->GetLocalReplica();
printf "Local replica is %s.\n", $entity->GetDisplayName();
}
CQSession::Unbuild($sess);