BBjAdmin::setDatabaseGlobal


Description

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

Syntax

Return Value

Method

void

setDatabaseGlobal(string databaseName, string propertyName, string value)

Parameters

Variable

Description

databaseName

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

propertyName

The database property to set. 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.

value

The value to set for the property.

Return Value

None.

Remarks

None.

Example

myAdmin!=BBjAPI().getAdmin("admin","admin123")
myAdmin!.setDatabaseGlobal("ChileCompany", "DATA", "C:\MyData\data\")

See Also

BBjAPI

BBjAdmin

BBjAdminEnvironment

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