BBjJdbcOdbcInfo::getConnectTime

Description

In BBj 8.0 and higher, this method returns the date and time when one of the JDBC/ODBC connections opened in the BBjServices session.

Syntax

Return Value

Method

string

getConnectTime()

Parameters

None.

Return Value

Returns the date and time when the JDBC/ODBC connection was opened.

Remarks

None.

Example

rem Retrieve the date and time of each open JDBC/ODBC connection

input "Enter User ID: ",userid$
input "Enter Password: ",password$
admin!=BBjAPI().getAdmin(userid$,password$)
vector! = admin!.getJdbcOdbcInfos()
for i=0 to vector!.size()-1
info!=vector!.get(i)
print str(info!.getConnectTime())
next i

stop

See Also

BBjAPI

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