BBjAPI::removeDatabaseGlobal

Description

In BBj 9.00 and higher, this method moves the specified database property from the database configuration.

Syntax

Return Value

Method

void

removeDatabaseGlobal(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 remove. 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

None.

Remarks

If it is a built in property, then the property will return to the default setting for that property (i.e. removing the ADVISORYLOCKING property would turn advisory locking off).

Example

rem 'Get the location that the SQL engine should look for data dictionary files.
BBjAPI().removeDatabaseGlobal("ChileCompany", "MY_USER_PROP")

See Also

BBjAPI

BBjAPI::clearCustomEventCallback

BBjEvent

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