GetReplicaNames
Description
(Perl only) Returns a reference to the replica names.
Note: This
method became available in version 2002.05.00.
Syntax
Perl
$adminSession->GetReplicaNames
();
- Identifier
- Description
- adminSession
- The AdminSession object representing the current schema repository access session.
- Return value
- A reference to an array of strings containing all of the replica names.
Example
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);