| FileBasedProjectDownloadLatestServerVersion Method |
Downloads the latest version of a file from the project server.
Namespace: Sdl.ProjectAutomation.FileBasedAssembly: Sdl.ProjectAutomation.FileBased (in Sdl.ProjectAutomation.FileBased.dll) Version: 3.0.0.0 (3.1.5799.0)
Syntaxpublic bool DownloadLatestServerVersion(
Guid projectFileId,
EventHandler<DataTransferEventArgs> progressEventHandler,
bool force
)
Public Function DownloadLatestServerVersion (
projectFileId As Guid,
progressEventHandler As EventHandler(Of DataTransferEventArgs),
force As Boolean
) As Boolean
public:
bool DownloadLatestServerVersion(
Guid projectFileId,
EventHandler<DataTransferEventArgs^>^ progressEventHandler,
bool force
)
member DownloadLatestServerVersion :
projectFileId : Guid *
progressEventHandler : EventHandler<DataTransferEventArgs> *
force : bool -> bool
Parameters
- projectFileId
- Type: SystemGuid
The unique file id - progressEventHandler
- Type: SystemEventHandlerDataTransferEventArgs
A progress event handler, allowing the caller to cancel the download if required. - force
- Type: SystemBoolean
if set to true download the file from the server regardless of whether the local version is up to date.
Return Value
Type:
Booleantrue if successful
See Also
Comments