BBjAppConfig::getTerminal

Description

In BBj 12.0 and higher, this method returns the terminal ID to be used for this application.

Syntax

Return Value

Method

string

getTerminal()

Parameters

None.

Return Values

Returns the terminal ID for this BBjAppConfig (e.g. T2).

Remarks

The specified terminal type must be configured as a MINI console (e.g.: ALIAS T0 MINI).

Example

rem ' BBjAppConfig::getTerminal

rem ' For BUI, this must be a MINI console alias:
rem ' ALIAS T0 MINI
admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setTerminal("T0")
print "getTerminal: ",appConfig!.getTerminal()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::setTerminal

BBjAppServer

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