GetLocalReplicaName
Description
(Perl only) Returns the name of the local replica.
Note: This
method became available in version 2002.05.00.
Syntax
Perl
$adminSession->GetLocalReplicaName
();
- Identifier
- Description
- adminSession
- The AdminSession object representing the current schema repository access session.
- Return value
- Returns a String containing name of the local replica.
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);