CloseFile Method  
 

Close the file that was opened on the server.

Syntax

object.CloseFile

Parameters

None.

Return Value

A value of zero is returned if the operation was successful, otherwise a non-zero error code is returned which indicates the cause of the failure.

Remarks

The CloseFile method is used to close a file that was opened using the OpenFile method, or created using the CreateFile method. It should be called before the client disconnects from the server.

See Also

CreateFile Method, OpenFile Method