
BBjAppServer::isPublished
Description
In BBj 12.0 and higher, returns a boolean indicating whether a given BBjApplication is in the set of currently published applications.
Syntax
Return Value |
Method |
---|---|
boolean |
isPublished(BBjApplication application) |
Parameters
Variable |
Description |
---|---|
application |
The BBjApplication to check. |
Return Value
Returns a boolean indicating whether the specified BBjApplication is published.
Remarks
None.
Example
rem ' BBjAppServer::isPublished 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$," isPublished? ",appServer!.isPublished(app!) next i endif |
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.