Name

Description

Sets or returns the logical database name. You cannot change logical name after it is set once.

Setting the Name changes the information HCL Compass uses to connect to the physical database, not the actual database itself.

The logical database name is the name to use when referring to the database from VBScript code or within queries. This property differs from the DatabaseName property, which specifies the name of the database file on the server's local file system.

Note: The local database name must be no longer than five characters.
Note: Setting a new value does not take effect until the ApplyPropertyChanges method is called.

Syntax

VBScript


database.Name 
database.Name dbName 

Perl


$database->GetName(); 
$database->SetName(dbName); 
Identifier
Description
database
A Database object.
dbName
A String containing the logical database name.
Return value
A String containing the logical database name.