SubscribedDatabases

Description

Returns the collection of databases to which this group is subscribed. This is a read-only property; it can be viewed but not set.

Each element in the returned collection is a Database object.

Syntax

VBScript


group.SubscribedDatabases 

Perl


$group->GetSubscribedDatabases(); 
Identifier
Description
group
A Group object, representing one set of users associated with the current schema repository.
Return value
A Databases collection object containing the databases to which this group is subscribed.

Example

Perl


use CQPerlExt;

$adminsession = CQAdminSession::Build();

$adminsession->Logon("admin", "",  "2003.06.00");

if (defined($adminsession->Logon("admin", "",  "2003.06.00"))) {

   print "Error: Not logged into HCL Compass.. please log in \n";

}

$groupObj = $adminsession->GetGroup("group3");

$dblist = $groupObj->GetSubscribedDatabases();

$numdbs = $dblist->Count();

print $numdbs;

CQAdminSession::Unbuild($adminsession);