Search Results for

    Show / Hide Table of Contents

    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
    System.Object
    ScheduledOperation
    ImportExportOperationBase
    ScheduledServerTranslationMemoryImport
    Inherited Members
    ImportExportOperationBase.STREAM_HANDLER_TYPE
    ImportExportOperationBase.DefaultTranslationUnitChunkSize
    ImportExportOperationBase.LanguageDirection
    ImportExportOperationBase.Id
    ImportExportOperationBase.ChunkSize
    ImportExportOperationBase.ContinueOnError
    ImportExportOperationBase.IsScheduled
    ScheduledOperation.Status
    ScheduledOperation.ErrorMessage
    ScheduledOperation.PercentComplete
    ScheduledOperation.QueuedOn
    ScheduledOperation.StartedOn
    ScheduledOperation.CompletedOn
    ScheduledOperation.CancelledOn
    ScheduledOperation.IsFinished
    ScheduledOperation.IsRunning
    ScheduledOperation.IsPending
    ScheduledOperation.WorkItemId
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 languageDirection is null.

    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
    ScheduledOperation.Queue()

    Refresh()

    Refresh the underlying entity to update the current progress of the import.

    Declaration
    public sealed override void Refresh()
    Overrides
    ScheduledOperation.Refresh()

    On this page

    • Constructors
      • ScheduledServerTranslationMemoryImport(ServerBasedTranslationMemoryLanguageDirection)
    • Properties
      • Deleted
      • FileName
      • ImportSettings
      • RecomputeFuzzyIndex
      • Source
      • Statistics
      • UploadCancelEvent
    • Methods
      • Queue()
      • Refresh()
    Back to top Generated by DocFX