of_unregister


pfcapsrv.pbl   >   pfc_n_cst_trregistration   >   of_unregister   

Full name pfc_n_cst_trregistration.of_unregister
Access public
Extend of integer
Return value integer
Prototype public function integer of_unregister()

Name Datatype
No Data

Name Datatype
li_registedcnt Integer
lnv_trans n_cst_trregistrationattrib[]

public function integer of_unregister ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_UnRegister
//
//	Access:  		public
//
//	Arguments:		None
//
//	Returns:  		integer
//	 The number of transactions that were unregistered. 
//	-1 = error
//
//	Description:  	
//	Unregisters all the transaction objecrts from the service.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0.01   Initial version
//	7.0   Local variable datatype changed from os_transentry to n_cst_trregistrationattrib type
//	7.0   Local variable name changed from lstr_trans to lnv_trans
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

Integer li_registedcnt
n_cst_trregistrationattrib	lnv_trans[]

// Get the count of the currently registered transactions.
li_registedcnt = of_GetCount()

// Unregister them all by clearing out the transaction array.
inv_trans = lnv_trans
ii_count = 0

return li_registedcnt
end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_trregistration.of_getcount pfc_n_cst_trregistration

     
Full name
No Data

     
Name Scope
No Data