SCMSSDK::GetLatestFiles

Description

Retrieves the latest version of files from the server.

Syntax

int GetLatestFiles(

string strTeamProjectName,
List<string> listFileFullName,
List<string> listLocalFileFullNameCopyTo,
bool bMakeWritable,
int enumEOL,
int enumModifiedFileHandling,
int enumSetLocalFileTime,
SDKDiffMergeParameter stDiffMergeParameter,
ref List<SDKItemOperatorResult> listItemOperateResults,
StringObject strobjError

);
 

Parameters

strTeamProjectName

[in] Specifies the team project name.

listFileFullName

[in] Specifies the full names of files to be retrieved from the server.

listLocalFileFullNameCopyTo

[in] Specifies the full names of local files to which the server files will be retrieved.

bMakeWritable

[in] Specifies whether to make the files writable after being retrieved.

enumEOL

[in] Specifies which end-of-line terminator is to be used.

enumModifiedFileHandling

[in] Specifies how to handle the local files if writable copies of them exist in the local disk.

enumSetLocalFileTime

[in] Specifies the type of time to be assigned to local files.

stDiffMergeParameter

[in] Specifies the parameters for diff and merge.

listItemOperateResults

[out] Returns the result information of the operation.

strobjError

[out] Returns the description of the result. If the operation succeeds, returns 'Completed'. If the operation fails, returns the error information.

Return Value

If the method succeeds, returns 0. If the method fails, returns other error codes.

See Also

 

 













Software Configuration Management | Software configuration management tool | scm version control | software cm | Online SCM
Copyright © 2012 Dynamsoft Corporation. All Rights Reserved.