SAWVSDK::renameProject

Description

Rename a project on Dynamsoft SourceAnywhere for VSS server.

Syntax

int renameProject(
        String strProjectParent,
        String strProjectToRename,
        String strNewName,
        BaseDataObject bdostrError
);

Parameters

strProjectParent
[in] Specifies name of the parent project of the project to be renamed.

strProjectToRename
[in] Specifies the old name of the project.

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

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.