BBjApplication::getName

Description

In BBj 12.0 and higher, this method returns the name of the application as it will be published.

Syntax

Return Value

Method

string

getName()

Parameters

None.

Return Values

Returns the name of the published application.

Remarks

None.

Example

rem ' BBjApplication::getName

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$," getName: ",
        print app!.getName()
    next i
endif

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjApplication

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