SAWVSDK::checkoutFiles
Description
Checks out multiple files from Dynamsoft SourceAnywhere for VSS server.
Syntax
int checkoutFiles(
StringArray strAryFileToCheckout,
StringArray strAryLocalFile,
String strComment,
boolean
bDoNotGetLocalCopy,
int ienumWritableFileHandling,
int ienumEOL,
int ienumSetLocalFileTime,
BaseDataObject bdobCandeled,
BaseDataObject bdostrError,
ResultArray aryResult
);
Parameters
strAryFileToCheckout
[in] Specifies the names of files to be checked out.
strAryLocalFile
[in] Specifies the names of local files checked out from the server.
strComment
[in] Specifies the comment for the checkout
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 the files to be checked out exists in local disk and the parameter "ienumWritableFileHandling" is set to the enum "AskWritableFile", the method "PromptLeaveOrReplaceWritableFile()" will be triggered.