The Database class contains the information required to create a database connection.
For a list of all members of this type, see Database Members.
ASNA.VisualRPG.Runtime
ASNA.VisualRPG.Runtime.Database
<Serializable> Syntax
This type is safe for multithreaded operations.
To 'load' the contents of the registry for a particular database name, set the DBName property of the database object declared with DCLDB. If a database name exists with the name, values such as server, label, and user, etc., become current and available through properties of the object.
You can use the CreateName method to take 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.
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.
There are two methods which are Shared. These methods don't affect the current values of the database object.
GetNames (*Boolean Public Databases) - Returns an array of string with all the names found in the registry. The Boolean parameter indicates whether to get Public Database (True) or those private to the current user (False).
DeleleteName (*String Existing Name) - This method deletes from the registry an existing database Name.
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