| FileBasedProjectDownloadSpecificServerVersion Method |
Downloads a specific version of a file from the server in to the specified location
Namespace: Sdl.ProjectAutomation.FileBasedAssembly: Sdl.ProjectAutomation.FileBased (in Sdl.ProjectAutomation.FileBased.dll) Version: 3.0.0.0 (3.1.5799.0)
Syntaxpublic bool DownloadSpecificServerVersion(
Guid projectFileId,
int versionNumber,
string localFilePath,
EventHandler<DataTransferEventArgs> progressEventHandler
)
Public Function DownloadSpecificServerVersion (
projectFileId As Guid,
versionNumber As Integer,
localFilePath As String,
progressEventHandler As EventHandler(Of DataTransferEventArgs)
) As Boolean
public:
bool DownloadSpecificServerVersion(
Guid projectFileId,
int versionNumber,
String^ localFilePath,
EventHandler<DataTransferEventArgs^>^ progressEventHandler
)
member DownloadSpecificServerVersion :
projectFileId : Guid *
versionNumber : int *
localFilePath : string *
progressEventHandler : EventHandler<DataTransferEventArgs> -> bool
Parameters
- projectFileId
- Type: SystemGuid
The unique identifier for the file - versionNumber
- Type: SystemInt32
The version number of the file you wish to download - localFilePath
- Type: SystemString
The location you wish to download the file to - progressEventHandler
- Type: SystemEventHandlerDataTransferEventArgs
>A progress event handler, allowing the caller to cancel the download if required.
Return Value
Type:
Booleantrue if successful
See Also
Comments