SAWVSDK::getLatestProjects

Description

Retrieves the latest version of projects from Dynamsoft SourceAnywhere for VSS server.

Syntax

int getLatestProjects(
        String strProjectsToGet,
        String strAryLocalDirectory,
        boolean bRecursive,
        boolean bMakeWritable,
        int iEnumWritableFileHandling,
        int iEnumEOL,
        int iEnumSetLocalFileTime,
        BaseDataObject bdobCandeled,
        BaseDataObject bdostrError,
        ResultArray aryResult
);

Parameters

strProjectsToGet
[in] Specifies the names of the projects to be retrieved.

strAryLocalDirectory
[in] Specifies the local directory path to which the projects are retrieved.

bRecursive
[in] Specifies whether the folders are to be retrieved recursively.

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 the local copies of the files in the projects exist and the parameter "ienumWritableFileHandling" is set to the enum "AskWritableFile", the method  "PromptLeaveOrReplaceWritableFile()" will be triggered.