
BBjApplication::getProgramName
Description
In BBj 12.0 and higher, this method returns the BBj program name.
Syntax
Return Value |
Method |
---|---|
string |
getProgramName() |
Parameters
None.
Return Values
Returns the program name.
Remarks
None.
Example
rem ' BBjApplication::getProgramName 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$) print appName$," getProgramName: ", print app!.getProgramName() next i endif |
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.