IsReplicated

Description

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

Remarque : This method became available in version 2002.05.00.

Syntaxe

VBScript

adminSession.IsReplicated 

Perl

$adminSession->IsReplicated(); 
Identificateur
Description
adminSession
L'objet AdminSession représentant la session d'accès du référentiel de schéma en cours.
Valeur de retour
Returns True if the current database has at lease two replicated sites, False otherwise.

Exemples

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); 

Feedback