BBjAdmin::getDatabaseGlobal


Description

In BBj 9.0 and higher, this method gets the specified database property value.

Syntax

Return Value

Method

string

getDatabaseGlobal(string databaseName, string propertyName)

Parameters

Variable

Description

databaseName

The case sensitive name of the database whose property should be set.

propertyName

The database property to get. This may be any property found in the config.ini file, or any property defined in the "User Props" tab on the database information in the Enterprise Manager.

Return Value

The value of the specified property for the specified database. These values are stored in the config.ini file located in the BBjServices installation cfg directory.

Remarks

None.

Example

REM Obtain the instance of the BBjAdmin object
INPUT "Enter an Administrator User: ",user$
INPUT "Enter a password: ",password$
admin!=BBjAPI().getAdmin(user$, password$)
dictPath$ = admin!.getDatabaseGlobal("ChileCompany", "DICTIONARY")

See Also

BBjAPI

BBjAdmin

BBjAdminEnvironment

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.