|
of_getupdaterequestor
|
|
Full name
|
pfc_n_cst_luw.of_getupdaterequestor
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_getupdaterequestor(ref powerobject)
|
Name
|
Datatype
|
lpo_notvalid
|
powerobject
|
public function integer of_getupdaterequestor (ref powerobject apo_requestor);//////////////////////////////////////////////////////////////////////////////
//
// Function:
// of_GetUpdateRequestor
//
// Access: Public
//
// Arguments:
// apo_requestor (by reference) The True (original) object requesting Updates.
//
// Returns: Integer
// 1 if it succesful.
// 0 if there is no requestor.
// -1 in error.
//
// Description:
// Gets the powerobject reference that has been associated with this the LUW
// service. This is the referece, that where appropriate, the LUW service is
// using when requesting functionality to the SelfUpdatingObjects.
// If not set the LUW will use itself as that reference.
//
// Note:
// This reference is not required.
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
powerobject lpo_notvalid
If IsValid(ipo_updaterequestor) Then
// Requestor object was found.
apo_requestor = ipo_updaterequestor
Return 1
End If
// No requestor object was found.
// Note that a requestor object is not needed by the LUW service.
apo_requestor = lpo_notvalid
Return 0
end function
Name
|
Owner
|
systemfunctions.isvalid |
systemfunctions
|