|
of_setlogfile
|
|
Full name
|
pfc_n_cst_error.of_setlogfile
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setlogfile(string)
|
public function integer of_setlogfile (string as_filename);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetLogFile
//
// Access: public
//
// Arguments:
// as_filename File name to use for logging messages.
//
// Returns: Integer.
// 1 if it succeeds and -1 if it fails.
//
// Description: Set the file name to be used for logging messages to a file.
// *Note: An empty string on as_filename tells the service to not
// log any entries.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// Check argument.
If IsNull(as_filename) Then
Return -1
End If
is_logfile = as_filename
Return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|