Class ScheduledServerTranslationMemoryImport
Represents the asynchronous import of a TMX, SDLIFF, ITD or TTX file into a server-based translation memory, executed on the Execution Server. Use this class to schedule an asynchronous translation memory import.
Inheritance
Inherited Members
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class ScheduledServerTranslationMemoryImport : ImportExportOperationBase
Constructors
ScheduledServerTranslationMemoryImport(ServerBasedTranslationMemoryLanguageDirection)
Creates a new scheduled translation memory import.
Declaration
public ScheduledServerTranslationMemoryImport(ServerBasedTranslationMemoryLanguageDirection languageDirection)
Parameters
Type | Name | Description |
---|---|---|
ServerBasedTranslationMemoryLanguageDirection | languageDirection | The translation memory language direction in which to import. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |
Properties
Deleted
True, if this instance has been deleted.
Declaration
public bool Deleted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
FileName
Gets the name of the import file.
Declaration
public string FileName { get; }
Property Value
Type | Description |
---|---|
System.String |
ImportSettings
Gets or sets the import settings.
Declaration
public ImportSettings ImportSettings { get; set; }
Property Value
Type | Description |
---|---|
ImportSettings | The import settings. |
RecomputeFuzzyIndex
Gets or sets a value specifying whether the fuzzy index should be recomputed afer import.
Declaration
public bool RecomputeFuzzyIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Source
Gets or sets the file to import
Declaration
public FileInfo Source { get; set; }
Property Value
Type | Description |
---|---|
System.IO.FileInfo | The source. |
Statistics
Gets the current import statistics associated with the import.
Declaration
public ImportStatistics Statistics { get; }
Property Value
Type | Description |
---|---|
ImportStatistics | The statistics. |
UploadCancelEvent
The Upload CancelEventHandler can be used to abort the file upload. Only applicable to GroupShare 2015 or earlier
Declaration
public EventHandler<FileTransferEventArgs> UploadCancelEvent { get; set; }
Property Value
Type | Description |
---|---|
System.EventHandler<FileTransferEventArgs> |
Methods
Queue()
Queues this instance.
Declaration
public sealed override void Queue()
Overrides
Refresh()
Refresh the underlying entity to update the current progress of the import.
Declaration
public sealed override void Refresh()