Click or drag to resize
ServerBasedTranslationMemory Class
Represents a ITranslationMemory which is hosted on a server, as opposed to a FileBasedTranslationMemory.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryApiServerBasedTranslationMemory

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.3880.0)
Syntax
public class ServerBasedTranslationMemory : ITranslationMemory2015, 
	ITranslationMemory, ITranslationProvider, INotifyPropertyChanged, IEditableObject, IEquatable<ServerBasedTranslationMemory>, 
	IPermissionCheck

The ServerBasedTranslationMemory type exposes the following members.

Constructors
  NameDescription
Public methodServerBasedTranslationMemory
Creates a new translation memory. Note that you have to call Save to persist the translation memory.
Top
Properties
  NameDescription
Public propertyCachedTranslationUnitCount
Gets the cached total translation unit count for all language directions. This count is computed at regular intervals and when performing imports. To calculate the actual translation unit count, use GetTranslationUnitCount but bear in mind that this is a relatively expensive operation.
Public propertyContainer
Gets or sets the translation memory container that contains this translation memory.
Public propertyCopyright
Gets or sets the copyright of the translation memory.
Public propertyCreationDate
Gets the creation date of this translation memory.
Public propertyCreationUserName
Gets the creation user of this translation memory.
Public propertyCurrentExportOperations
Gets a list of export operations currently associated with the language directions encapsulated by this translation memory.
Public propertyCurrentImportOperations
Gets a list of import operations currently associated with the language directions encapsulated by this translation memory.
Public propertyCurrentRecomputeStatisticsOperation
Gets the most recent scheduled recomputation of fuzzy index statistics; if any.
Public propertyCurrentReindexOperation
Gets the most recent scheduled operation.
Public propertyDescription
Gets or sets the description of the tm.
Public propertyExpirationDate
Gets or sets the expiration date for this translation memory.
Public propertyFieldDefinitions
Gets the custom fields defined for this TM.
Public propertyFieldsTemplate
Gets or sets the field group template. Can be null.
Public propertyFuzzyIndexes
Gets or sets the set of fuzzy indices defined on this TM.
Public propertyFuzzyIndexStatisticsRecomputedAt
Gets the time of the last fuzzy index statistics recomputation of this TM, if available.
Public propertyFuzzyIndexStatisticsSize
Gets the size of the TM at the point of the last fuzzy index statistics recomputation, if available.
Public propertyFuzzyIndexTuningSettings
Gets or sets the fuzzy index tuning settings for the TM. Note that you have to call Save to persists changes to this property.
Public propertyId
Gets or sets a unique Id for this database server.
Public propertyIsDeleted
Returns
true
if this translation memory has been deleted.
Public propertyIsDirty
Returns
true
if this translation memory has unsaved changes.
Public propertyIsNewObject
Returns
true
if this translation memory has not been saved yet.
Public propertyIsProjectTranslationMemory
Gets or sets an indication whether this translation memory is a project translation memory.
Public propertyIsReadOnly
Public propertyLanguageDirections
Gets this list of language directions for this translation memory.
Public propertyLanguageResourceBundles
Gets the language resources which are associated with this TM.
Public propertyLanguageResourcesTemplate
Gets or sets the ServerBasedLanguageResourcesTemplate object associated with this TM.
Public propertyLinkedResourceGroupPaths
Gets the collection of paths for the linked resource groups.
Public propertyName
Gets the user-friendly name of this provider. It is not necessarily unique across the system.
Public propertyParentResourceGroupDescription
Gets the parent resource group description.
Public propertyParentResourceGroupName
Gets the parent resource group name.
Public propertyParentResourceGroupPath
Gets or sets the parent resource group path.
Public propertyRecognizers
Gets or sets the recognizers which are enabled for this TM.
Remarks
Note that changing recognizers may require reindexing. In addition, in some cases duplicate TUs may be in the TM if recognizers are enabled which have been disabled before.
Public propertyStatusInfo
Gets the status info for the provider.
Public propertySupportedLanguageDirections
Gets the list of language directions which are supported by this translation memory.
Public propertySupportsConcordanceSearch
SupportsConcordanceSearch. Always true for TMs.
Public propertySupportsDocumentSearches
SupportsDocumentSearches. Always true for TMs.
Public propertySupportsFilters
SupportsFilters. Always true for TMs.
Public propertySupportsFuzzySearch
SupportsFuzzySearch. Always true for TMs.
Public propertySupportsMultipleResults
SupportsMultipleResults. Always true for TMs.
Public propertySupportsPenalties
SupportsPenalties. Always true for TMs.
Public propertySupportsPlaceables
SupportsPlaceables. Always true for TMs.
Public propertySupportsScoring
SupportsScoring. Always true for TMs.
Public propertySupportsSearchForTranslationUnits
SupportsSearchForTranslationUnits. Always true for TMs.
Public propertySupportsSourceConcordanceSearch
SupportsSourceConcordanceSearch. Always true for TMs.
Public propertySupportsStructureContext
SupportsStructureContext. Always true for TMs.
Public propertySupportsTaggedInput
SupportsTaggedInput. Always true for TMs.
Public propertySupportsTargetConcordanceSearch
SupportsTargetConcordanceSearch. Returns
true
if this translation memory has a word-based fuzzy index for the target language (see FuzzyIndexes).
Public propertySupportsTranslation
SupportsTranslation. Always true for TMs.
Public propertySupportsUpdate
SupportsUpdate. Always true for TMs.
Public propertySupportsWordCounts
SupportsWordCounts. Always true for TMs.
Public propertyTokenizerFlags
Gets or sets the flags affecting tokenizer behaviour for this TM.
Public propertyTranslationMethod
Public propertyTranslationProviderServer
Gets the server.
Public propertyUri
Gets a URI which uniquely identifies this translation provider.
Public propertyWordCountFlags
Gets or sets the flags affecting word count behaviour for this TM.
Top
Methods
  NameDescription
Public methodDelete
Deletes this translation memory.
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodEquals(ServerBasedTranslationMemory)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetLanguageDirection
Gets the language direction with specified source and target language.
Public methodStatic memberGetServerBasedTranslationMemoryPath
Gets the server-based translation memory name from the given URI.
Public methodStatic memberGetServerVersion
Determins the TM Server version
Public methodGetTranslationUnitCount
Gets the total translation unit count for all language directions in this translation memory.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasPermission
Checks whether the current user has the specified permission on this translation memory.
Public methodStatic memberIsServerBasedTranslationMemory
Determines whether the given URI represents a server-based translation memory.
Public methodLoadState
Loads previously serialized state information into this translation provider instance.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRecomputeFuzzyIndexStatistics
Synchronously recomputes the fuzzy index statistics of the TM.
Public methodRefreshStatusInfo
Ensures that the provider's status information (StatusInfo) is refreshed, in case it is cached.
Public methodReindex
Reindexes this translation memory.
Public methodSave
Saves the changes to this translation memory. This includes changes to language directions, fields and language resources.
Public methodSerializeState
Serializes any meaningful state information for this translation provider that can be stored in projects and sent around the supply chain.
Public methodShouldRecomputeFuzzyIndexStatistics
Gets a flag which indicates whether it is recommended to recompute the fuzzy index statistics (see RecomputeFuzzyIndexStatistics).
Public methodSupportsLanguageDirection
Checks whether this translation provider supports the specified language direction.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments