TCDVcsDeleteFile
Return to Introduction  Previous page  Next page
Permanently deletes an existing File.

Delphi (TCDirectIntf.pas)

function VcsDeleteFile( FileID: Cardinal ): Integer;  

Parameters

Name
Description
FileID
The ID of the file to delete.


Return Value

Err_OK if successful or an error code indicating the error.

Remarks

This function will permanently delete the file. If you want to remove the folder, without permanently deleting it, use TCDVcsRemoveObject instead.

If this file is part of a share, The link between it and the shares based on it will be broken.

Exported

function TCDVcsDeleteFile( FileID: Cardinal ): Integer; stdcall;  



 


© 1995-2018 MCN Software