of_SetAllowSQLCADestroy


pfcapsrv.pbl   >   pfc_n_cst_trregistration   >   of_SetAllowSQLCADestroy   

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

Name Datatype
No Data

Name Datatype
No Data

public function integer of_SetAllowSQLCADestroy (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetAllowSQLCADestroy
//
//	Access:  		public
//
//	Arguments:
//	ab_switch		The desired switch value
//
//	Returns:  		integer
//	1 = success and -1 for error
//
//	Description:  	
//	Sets the switch value that determines if the service will go ahead and destroy
// the gloval SQLCA Transaction object.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0.01   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Validate the argument.
If IsNull(ab_switch) Then
	Return -1
End If

ib_allowsqlcadestroy = ab_switch
return 1

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data