SAWVSDK::shareFilesFrom

Description

Shares multiple files to a project.

Syntax

int shareFilesFrom(
        String strProjectShareTo,
        StringArray strAryFilesShareFrom,
        boolean bBranchAfterShare,
        BaseDataProject bdobCanceled,
        BaseDataProject bdostrError,
        ResultArray aryResult
);

Parameters

strProjectShareTo
[in] Specifies the name of the project to be shared to.

strAryFileShareFrom
[in] Specifies the name set of files to be shared.

bBranchAfterShare
[in] Specifies whether to branch files in the shared project.

strComment
[in] Specifies the comment for the sharing.

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.

aryResult
[out] Returns the result information set of the operation.

Return Value

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