back to content

SAWSSDK::branchFiles

Description

Branches multiple files.

Syntax

int branch(
        String
aryFileFullNameToBranch,
        String
strComment,
        BaseDataObject
bdobCanceled,
        BaseDataObject
bdostrError,
        ItemOperateResultArray aryOperatorResult
);

Parameters

aryFileFullNameToBranch
[in] Specifies the full names of the files to be branched.

strComment
[in] Specifies the comment for the branch 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 set 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