SAWVSDK::addFolder
Description
Adds local folder to specified directory path on Dynamsoft SourceAnywhere for VSS server.
Syntax
int addFolder(
String strProject,
String strLocalFolderToAdd,
String strComment,
int iEnumEOL,
Boolean bRecursive,
Boolean bStoreOnlyLatestVersion,
Boolean bUseReadOnlyForFileNotCheckedout,
int iEnumFileType,
BaseDataObject bdobCanceled,
BaseDataObject bdostrError,
ResultArray aryResult
);
Parameters
strProject
[in] Specifies the name of project to which the folder
will be added.
strLocalFolderToAdd
[in] Specifies the local folder to be added.
strComment
[in] Specifies the comment for the add.
iEnumEOL
[in] Specifies which end-of-line terminator is to be used for files.
bRecursive
[in] Specifies whether the folder will be added recursively.
bStoreOnlyLatestVersion
[in] Specifies whether to store only the latest version of files to be added on
server.
bUseReadOnlyForFileNotCheckedout
[in] Specifies whether to use read-only flag on files that are not checked out.
iEnumFileType
[in] Specifies the types of files in the folder to be added.
bdobCanceled
[out] If the method fails, returns whether the operation is canceled.
bdoError
[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.
See Also