of_SetLogfile


pfcutil.pbl   >   pfc_n_cst_sqlspy   >   of_SetLogfile   

Full name pfc_n_cst_sqlspy.of_SetLogfile
Access public
Extend of integer
Return value integer
Prototype public function integer of_SetLogfile(string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_SetLogfile (string as_logfile);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetLogfile
//
//	Access:  		public
//
//	Arguments:
//	as_logfile   	String containing the log filename.
//						(i.e., 'c:\appl\logfile.asc')
//
//	Returns:  		integer
//						Returns 1 if it succeeds and -1 if an error occurs.
//						
//	Description:  	Sets the log filename for the SQLSpy service.
//						Set the logfile to an empty string to disable the logfile
//						processing.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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_logfile) Then
	Return -1
End If

//Set the log filename
is_logfile = as_logfile

Return 1

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data