of_RemoveDirectory


pfcapsrv.pbl   >   pfc_n_cst_filesrvsol2   >   of_RemoveDirectory   

Full name pfc_n_cst_filesrvsol2.of_RemoveDirectory
Access public
Extend of integer
Return value integer
Prototype public function integer of_RemoveDirectory(string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_RemoveDirectory (string as_directoryname);//////////////////////////////////////////////////////////////////////////////
//	Public Function:  of_RemoveDirectory
//	Arguments:		as_DirectoryName		The name of the directory to be deleted; an
//													absolute path may be specified or it will
//													be relative to the current working directory
//	Returns:			Integer
//						1 if successful,
//						-1 if an error occurrs.
//
//	Description:	Deleate a directory.
//////////////////////////////////////////////////////////////////////////////
//	Rev. History:	Version
//						5.0.02   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.
//////////////////////////////////////////////////////////////////////////////
If Not of_DirectoryExists(as_DirectoryName) Then Return 1

If RemoveDirectoryA(as_DirectoryName) Then
	Return 1
Else
	Return -1
End If
end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_filesrvsol2.RemoveDirectoryA pfc_n_cst_filesrvsol2
pfc_n_cst_filesrvsol2.of_DirectoryExists pfc_n_cst_filesrvsol2

     
Full name
No Data

     
Name Scope
No Data