SAWVSDK::moveItem

Description

Moves a file or project.

Syntax

int moveItem(
        String
strItemToMove,
        String strTargetProject,
        boolean bMoveFile,
        BaseDataObject bdobCanceled,
        BaseDataObject bdostrError
);

Parameters

strItemToMove
[in] Specifies the name of the file or project to be moved.

strTargetProject
[in] Specifies the target project to which the item is to be moved.

bMoveFile
[in]Specifies whether the moved item is a file or a project.

bdobCanceled
[out] If the method fails, returns whether the operation is canceled.

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.