IsMultisiteActivated

Description

Returns True if the current database has been activated for multisite operations. This method returns True even if the current database is the only existing replica.

Note: This method became available in version 2002.05.00.

Syntax

VBScript


adminSession.IsMultisteActivated 

Perl


$adminSession->IsMultisteActivated(); 
Identifier
Description
adminSession
The AdminSession object representing the current schema repository access session.
Return value
Returns True if the current database has been activated for multisite operations.

Examples

Perl


use CQPerlExt;

my $adminSess;

$adminSess = CQAdminSession::Build();

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



if ($adminSess->IsMultisiteActivated()) {

   my $replicNames;

   my $replicName;

   $replicaNames = $adminSess->GetReplicaNames();

   foreach $replicaName (@$replicaNames) {

      printf $replicaName. "\n";

   }

}

CQAdminSession::Unbuild($adminSess);