Show / Hide Table of Contents

# Class ServerProjectTMAssignmentsForTargetLang

Encapsulates server project translation memory assignments for a specific target language.

##### Inheritance

Object
ServerProjectTMAssignmentsForTargetLang

##### Syntax

    public class ServerProjectTMAssignmentsForTargetLang

### Fields

#### MasterTMGuid

The Guid of the master TM assigned to the project for the target language specified by TargetLangCode. It has to be included in TMGuids. Or, if TMGuids is an empty array, use an empty Guid (containing zeros only). The primary TM will be the master as well if this is an empty guid.

##### Declaration

    public Guid MasterTMGuid

##### Type

Guid

#### PrimaryTMGuid

The Guid of the working (primary) TM assigned to the project for the target language specified by TargetLangCode. It has to be included in TMGuids. Or, if TMGuids is an empty array, use an empty Guid (containing zeros only).

##### Declaration

    public Guid PrimaryTMGuid

##### Type

Guid

#### TargetLangCode

The three+(two) letter code of the target language of the project. (such as fre, eng, eng-US) for which the TMs are assigned to. Existing TM assignments for this project target language are deleted.

##### Declaration

    public string TargetLangCode

##### Type

String

#### TMGuids

The Guids of the TMs assigned to the project (for the target language specified by TargetLangCode). Can not be null. Only those translation memories can be assigned to the project, whose source language matches the source language of the project, and whose target language matches the TargetLangCode member of this object. When matching languages loose match is performed (e.g. a translation memory with source language "eng" can be used even if the source language of the project is "eng-US", and the same stands for target languages).

##### Declaration

    public Guid[] TMGuids

##### Type

Guid[]