SAWVSDK::renameFile

Description

Renames a file on Dynamsoft SourceAnywhere for VSS server.

Syntax

int renameFile(
        String strProjectParent,
        String strFileToRename,
        String strNewName,
        BaseDataProject bdostrError
);

Parameters

strProjectParent
[in] Specifies the name of the project the file belongs to.

strFileToRename
[in] Specifies the old name of the file.

strNewName
[in] Specifies the new name of the file.

bdostrError
[out] Returns the description of the result. If the operation succeeds, returns 'Completed'. If the operation fails, returns the error information.

Return Value

If the method succeeds, returns the value of ESAWV_SUCCESS. If the method fails, returns other error codes.