back to content

SAWSSDK::shareFilesTo

Description

Shares multiple files to a project.

Syntax

int shareFilesTo(
        String strProjectFullNameShareTo,
        StringArray strAryFilesShareFrom,
        boolean bBranchAfterShare,
        String strComment,
        BaseDataProject bdobCanceled,
        BaseDataProject bdostrError,
        ItemOperateResultArray aryOperatorResult
);

Parameters

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

strAryFileShareFrom
[in] Specifies the full names of files to be shared.

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

strComment
[in] Specifies the comment for the share action.

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.

aryOperatorResult
[out] Returns the result information of the operation.

Return Value

If the method succeeds, returns 0. If the method fails, returns other error codes.

See Also

best version control software   source code management   SourceSafe alternative