Visual RPG 9.0 Language Reference  

Database.CreateName Method

CreateName takes all the current values of the database name, except for the name itself, and creates a new 'Database Name' in the registry with the name given in NewName

database.CreateName (NewName)

Parameters

NewName
Required.  A string containing a new database name to be created in the registry.

Remarks

CreateName creates a new 'Database Name' in the registry with the name given in NewName. The content of the database name registry entries are defined by the values of the Label, PlatformAttribute, PoolingTimeOut, Password, Port, Server, Text, and User properties.

You can use the UpdateName method to write the current values of the database name object as the new values of the database name in the registry.

Requirements

Namespace: ASNA.VisualRPG.Runtime

Assembly: ASNA Visual RPG Runtime (in ASNA.VisualRPG.Runtime.dll)

Platforms: Windows 2000 Professional SP4, Windows 2000 Server SP4, Windows Server 2003, Windows XP Professional SP2, Windows Vista Business Edition 

See Also

ASNA.VisualRPG.Runtime
Database Class
Database Class Members
Database Class Properties
Database Class Methods 
UpdateName Method
DCLDB