SAWVSDK::getLatestFiles
Description
Retrieves the latest version of files from Dynamsoft SourceAnywhere for VSS server.
Syntax
int getLatestFiles(
StringArray strAryFileToGet,
StringArray strAryLocalFile,
boolean bMakeWritable,
int ienumWritableFileHandling,
int ienumEOL,
int ienumSetLocalFileTime,
BaseDataObject bdobCandeled,
BaseDataObject bdostrError,
ResultArray aryResult
);
Parameters
strAryFileToGet
[in] Specifies the names of files to be retrieved from the
server.
strAryLocalFile
[in] Specifies the names of local files retrieved from the server.
bMakeWritable
[in] Specifies whether to make the files writable.
ienumWritableFileHandling
[in] Specifies how to handle the local files if writable copies of them
exist in the local disk.
ienumEOL
[in] Specifies which end-of-line terminator is to be used.
ienumSetLocalFileTime
[in] Specifies the type of time to be assigned to local files.
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.
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
Note: If local copies of the files exist and the parameter "ienumWritableFileHandling" is set to the enum "AskWritableFile", the method "PromptLeaveOrReplaceWritableFile()" will be triggered.