|
of_setdisabled
|
|
Full name
|
pfc_n_cst_tmgmultiple.of_setdisabled
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setdisabled(boolean)
|
public function integer of_setdisabled (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetDisabled
//
// Access: public
//
// Arguments:
// ab_switch The new state for the disabled switch
//
// Returns:
// integer
// SUCCESS = 1
// ERR = -1
//
// Description:
// Set the state of the disabled switch.
//
// Note:
// When True, it prevents the service from sending any notifications to any of the
// objects that are registered with it.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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_disabled = ab_switch
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|