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 DevOps Plan 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 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

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.