of_setrequestor


pfcapsrv.pbl   >   pfc_n_cst_apppreference   >   of_setrequestor   

Full name pfc_n_cst_apppreference.of_setrequestor
Access public
Extend of integer
Return value integer
Prototype public function integer of_setrequestor(n_cst_appmanager)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setrequestor (n_cst_appmanager anv_requestor);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_SetRequestor
//
//	Access:		Public
//
//	Arguments:
// anv_Requestor	The appmanager nvo requesting the service
//
//	Returns:		Integer
//	 1 = success 
//	-1 = error 
//
//	Description:	Associates the appmanager nvo with this service 
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

If IsNull(anv_requestor) or Not IsValid(anv_requestor) Then
	Return -1
End If

inv_appmanager = anv_Requestor

return 1
end function

     
Name Owner
pfc_n_cst_appmanager.of_setapppreference pfc_n_cst_appmanager

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data