SAWVSDK::getLatestProject

Description

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

Syntax

int getLatestProject(
        String strProjectToGet,
        String strLocalDirectory,
        boolean bRecursive,
        boolean bMakeWritable,
        int ienumWritableFileHandling,
        int ienumEOL,
        int ienumSetLocalFileTime,
        BaseDataObject bdobCandeled,
        BaseDataObject bdostrError,
        ResultArray aryResult
);

Parameters

strProjectToGet
[in] Specifies the name of the project to be retrieved.

strLocalDirectory
[in] Specifies the local directory path to which the project is 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 the 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 project exist and the parameter "ienumWritableFileHandling" is set to the enum "AskWritableFile", the method  "PromptLeaveOrReplaceWritableFile()" will be triggered.