
BBjApplication::toAppConfig
Description
In BBj 14.0 and higher, this method returns an editable BBjAppConfig object with the same settings as this immutable BBjApplication.
Syntax
Return Value |
Method |
---|---|
toAppConfig() |
Parameters
None.
Return Values
Returns a BBjAppConfig that contains the same settings as this BBjApplication, but that can be modified.
Remarks
None.
Example
rem ' BBjApplication::toAppConfig admin! = bbjapi().getAdmin("admin","admin123") appServer! = admin!.getWebAppServer() vector! = appServer!.getAllAppNames() if vector!.size() then for i = 0 to vector!.size() - 1 appName$ = vector!.get(i) app! = appServer!.getApplication(appName$) appConfig! = app!.toAppConfig() print "BBjAppConfig: ",appConfig! next i endif |
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.