Class ScheduledServerTranslationMemoryExport
Represents the asynchronous export of translation units from a server-based translation memory, executed on the Execution Server. Use this class to schedule an asynchronous translation memory export.
Inheritance
Inherited Members
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class ScheduledServerTranslationMemoryExport : ImportExportOperationBase
  Constructors
ScheduledServerTranslationMemoryExport(ServerBasedTranslationMemoryLanguageDirection)
Creates a new scheduled translation memory import.
Declaration
public ScheduledServerTranslationMemoryExport(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
DownloadCancelEvent
The download CancelEventHandler can be used to abort the file download.
Declaration
public EventHandler<FileTransferEventArgs> DownloadCancelEvent { get; set; }
  Property Value
| Type | Description | 
|---|---|
| EventHandler<FileTransferEventArgs> | 
FilterExpression
Gets or sets the filter expression which will be used during the export.
Declaration
public FilterExpression FilterExpression { get; set; }
  Property Value
| Type | Description | 
|---|---|
| FilterExpression | 
TranslationUnitsExported
Gets a count of the number of translation units which have been exported.
Declaration
public int TranslationUnitsExported { get; }
  Property Value
| Type | Description | 
|---|---|
| Int32 | 
TranslationUnitsProcessed
Gets a count of the number of translation units which have been processed.
Declaration
public int TranslationUnitsProcessed { get; }
  Property Value
| Type | Description | 
|---|---|
| Int32 | 
Methods
DownloadExport(Stream)
Downloads the export.
Declaration
public bool DownloadExport(Stream destinationStream)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Stream | destinationStream | 
Returns
| Type | Description | 
|---|---|
| Boolean | 
Queue()
Queues the operation for execution on the Execution Server.
Declaration
public override void Queue()
  Overrides
Refresh()
Refreshes the status of the operation.
Declaration
public override void Refresh()