|
of_setautodisable
|
|
Full name
|
pfc_n_cst_tmgsingle.of_setautodisable
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setautodisable(boolean)
|
public function integer of_setautodisable (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetAutoDisable
//
// Access: public
//
// Arguments:
// ab_switch The new state for the auto disable switch
//
// Returns:
// integer
// SUCCESS = 1
// ERR = -1
//
// Description:
// Set the state of the auto disable switch.
//
// Note:
// When True, the service will set the ib_disabled attribute to
// disable / enable at appropriate times.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 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 arguments
If IsNull(ab_switch) Then Return -1
ib_autodisable = ab_switch
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|