IsReplicated

Description

Returns True if the current database has at lease two replicated sites, False otherwise.

Syntax

Perl


$adminSession->IsReplicated(); 
Identifier
Description
adminSession
The AdminSession object representing the current schema repository access session.
Return value
Returns True if the current database has at lease two replicated sites, False otherwise.

Example

Perl


use CQPerlExt;

my $adminSess;

$adminSess = CQAdminSession::Build();

$adminSess->Logon("admin", "", "CQMS.MS_ACCESS.SITEA");



if ($adminSess->IsReplicated()) {

    printf "\nLocal replica is %s.\n", $adminSess->GetLocalReplicaName();

}

CQAdminSession::Unbuild($adminSess);