SAWVSDK::shareProjectFrom
Description
Shares all files in a project to another one.
Syntax
int shareProjectFrom(
String strProjectShareTo,
String strProjectShareFrom,
boolean bBranchAfterShare,
boolean bRecursive,
String strComment,
BaseDataObject bdobCanceled,
BaseDataObject bdostrError
);
Parameters
strProjectShareTo
[in] Specifies the name of the project to be shared to.
strProjectShareFrom
[in] Specifies the name of the project to be shared from.
bBranchAfterShare
[in] Specifies whether
to branch files in the shared project.
bRecursive
[in] Specifies whether to share the project recursively.
strComment
[in] Specifies the comment for the sharing.
bdobCanceled
[out] If the method fails, returns whether the operation is canceled.
bdobstrError
[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.