of_IsConnected


pfcmain.pbl   >   pfc_n_tr   >   of_IsConnected   

Full name pfc_n_tr.of_IsConnected
Access public
Extend of boolean
Return value boolean
Prototype public function boolean of_IsConnected()

Name Datatype
No Data

Name Datatype
No Data

public function boolean of_IsConnected ();//////////////////////////////////////////////////////////////////////////////
//	Public Function:  of_IsConnected
//	Arguments:  	None
//	Returns:  		boolean
//						true = connected
//						false = not connected
//	Description:	Determines if a connection has been established to the database
//////////////////////////////////////////////////////////////////////////////
//	Rev. History	Version
//						5.0   Initial version
//						5.0.01   Fixed bug where negative handles were not being considered as connected
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 Sybase, Inc. and its subsidiaries.  All rights reserved.  Any distribution of the 
// PowerBuilder Foundation Classes (PFC) source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//////////////////////////////////////////////////////////////////////////////
if this.DBHandle() = 0 then
	return false
else
	return true
end if
end function

     
Name Owner
pfc_n_cst_security.of_initsecurity pfc_n_cst_security
pfc_n_cst_tvsrv_levelsource.of_register pfc_n_cst_tvsrv_levelsource
pfc_n_cst_tvsrv_levelsource.of_register pfc_n_cst_tvsrv_levelsource
pfc_n_cst_lvsrv_datasource.of_Register pfc_n_cst_lvsrv_datasource
pfc_n_cst_lvsrv_datasource.of_Register pfc_n_cst_lvsrv_datasource
pfc_n_cst_dwcache.of_register pfc_n_cst_dwcache
pfc_n_cst_dwcache.of_refresh pfc_n_cst_dwcache
pfc_w_filtersimple.of_getvalues pfc_w_filtersimple
pfc_n_tr.of_RollBack pfc_n_tr
pfc_n_tr.of_Execute pfc_n_tr
pfc_n_tr.of_SetTrace pfc_n_tr
pfc_n_tr.of_Commit pfc_n_tr
pfc_w_selection.open pfc_w_selection
pfc_w_filterextended.tab_1.selectionchanged tab_1
pfc_n_cst_dwsrv_querymode.pfc_values pfc_n_cst_dwsrv_querymode
pfc_n_tr.destructor pfc_n_tr
n_cst_appmanager.pfc_logon n_cst_appmanager

     
Name Owner
transaction.dbhandle transaction

     
Full name
No Data

     
Name Scope
No Data