BBjJdbcOdbcInfo::close

Description

In BBj 8.0 and higher, this method closes the JDBC/ODBC connection represented by this object. The client application will not receive any kind of notification regarding the closing of the connection so this may adversely effect the client application.

Syntax

Return Value

Method

void

close()

Parameters

None.

Return Value

None.

Remarks

None.

Example

rem Close all connections from 3rd party JDBC/ODBC connections

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)
info!.close()
next i

stop

See Also

BBjAPI

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