of_SetFileReadonly


pfcapsrv.pbl   >   pfc_n_cst_filesrv   >   of_SetFileReadonly   

Full name pfc_n_cst_filesrv.of_SetFileReadonly
Access public
Extend of integer
Return value integer
Prototype public function integer of_SetFileReadonly(string,boolean)

Name Datatype
No Data

Name Datatype
lb_Null boolean

public function integer of_SetFileReadonly (string as_filename, boolean ab_readonly);//////////////////////////////////////////////////////////////////////////////
//	Public Function:  of_SetFileReadonly
//	Arguments:		as_FileName				The name of the file whose Read-Only attribute is to be set.
//						ab_ReadOnly				The value to set the attribute to.
//	Returns:			Integer
//						1 if successful, -1 if an error occurrs.
//	Description:	Set a file's Read-Only attribute.
//////////////////////////////////////////////////////////////////////////////
//	Rev. History:	Version
//						5.0   Initial version
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 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.
//////////////////////////////////////////////////////////////////////////////
boolean		lb_Null

SetNull(lb_Null)

Return of_SetFileAttributes(as_FileName, ab_ReadOnly, lb_Null, lb_Null, lb_Null)
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.setnull systemfunctions
pfc_n_cst_filesrv.of_SetFileAttributes pfc_n_cst_filesrv

     
Full name
No Data

     
Name Scope
No Data