back to content

Visual SourceSafe (VSS) Remote Access Tool Recommended by Microsoft


SAWVSDK::getOldVersionFile

Description

Retrieves an old version of a file from Dynamsoft SourceAnywhere for VSS server.

Syntax

int getOldVersionFile(
        String strProject,
        String strFileName,
        int iVersionNo,
        String strLocalFile,
        boolean bMakeWritable,
        int ienumWritableFileHandling,
        int ienumEOL,
        int ienumSetLocalFileTime,
        BaseDataObject bdobCanceled,
        BaseDataObject bdostrError,
        SResult stResult
);

Parameters

strProject
[in] Specifies the name of the project under which the file to be retrieved is.

strFileName
[in] Specifies the name of the file to be retrieved.

iVersionNo
[in] Specifies which version of the file will be retrieved .

strLocalFile
[in] Specifies name of the local file after the file is retrieved from the server.

bMakeWritable
[in] Specifies whether to make the file writable.

ienumWritableFileHandling
[in] Specifies how to handle the local file if a writable copy of the file exists 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 file.

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.

stResult
[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.

 

 













SourceSafe (VSS) Remote/Web/Internet Access | Software Configuration Management | SCM Solution
Software Configuration Management Online | Source/Version Control Online | Version/Source Control Software
Copyright 2010 Dynamsoft Corporation. All Rights Reserved.