SAWVSDK::branch

Description

Branches a file or a project.

Syntax

int branch(
        String
strItem,
        String
strComment,
        BaseDataObject
bdobCanceled,
        BaseDataObject
bdostrError
);

Parameters

strItem
[in] Specifies the name of the file or the project to be branched.

strComment
[in] Specifies the comment for the branch.

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.