of_setappkey


pfcapsrv.pbl   >   pfc_n_cst_appmanager   >   of_setappkey   

Full name pfc_n_cst_appmanager.of_setappkey
Access public
Extend of integer
Return value integer
Prototype public function integer of_setappkey(string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setappkey (string as_appkey);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetAppKey
//
//	Access:  public
//
//	Arguments:		
//	as_appkey   Full key value for the application.
//
//	Returns:  Integer
//	 1 = success 
//	-1 = error 
//
//	Description:  Sets the value for the application key on the registry.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.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(as_appkey) Then
	Return -1
End If

is_appkey = as_appkey
Return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data