BBjAppConfig::getProgramName

Description

In BBj 12.0 and higher, this method returns the BBj program name for this application.

Syntax

Return Value

Method

string

getProgramName()

Parameters

None.

Return Values

Returns the BBj program name.

Remarks

None.

Example

Click here to download a zip file containing the required files to run this sample


rem ' BBjAppConfig::getProgramName

app$ = "buisample"

admin! = bbjapi().getAdmin("admin","admin123")

appServer! = admin!.getWebAppServer()

appConfig! = appServer!.makeEmptyAppConfig()

appConfig!.setProgramName(dsk("")+dir("")+app$+".src")

print "getProgramName: ",appConfig!.getProgramName()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::setProgramName

BBjAppServer

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