Share via


Translation Class

 

Applies To: SQL Server (starting with 2016)

Provides a localized translation for its parent object.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.Translation
          Microsoft.AnalysisServices.AttributeTranslation

Syntax

[GuidAttribute("14E12A78-5BD7-41cd-815B-CC5826265866")]
public class Translation : ModelComponent, ICloneable
[GuidAttribute("14E12A78-5BD7-41cd-815B-CC5826265866")]
public ref class Translation : ModelComponent, ICloneable
[<GuidAttribute("14E12A78-5BD7-41cd-815B-CC5826265866")>]
type Translation = 
    class
        inherit ModelComponent
        interface ICloneable
    end
<GuidAttribute("14E12A78-5BD7-41cd-815B-CC5826265866")>
Public Class Translation
    Inherits ModelComponent
    Implements ICloneable

Constructors

Name Description
System_CAPS_pubmethod Translation()

Initializes a new instance of the Translation class using the default values.

System_CAPS_pubmethod Translation(Int32)

Initializes a new instance of the Translation class using a language parameter.

System_CAPS_pubmethod Translation(Int32, String)

Initializes a new instance of the Translation class using the specified language and caption information.

Properties

Name Description
System_CAPS_pubproperty Annotations

Gets a collection within which you can store custom data.(Inherited from ModelComponent.)

System_CAPS_protproperty CanRaiseEvents

(Inherited from Component.)

System_CAPS_pubproperty Caption

Gets or sets the caption to be used for display by clients.

System_CAPS_pubproperty CollectionCaption

Gets or sets the collection caption of the translation.

System_CAPS_pubproperty Container

(Inherited from Component.)

System_CAPS_pubproperty Description

Gets or sets the description of a translation.

System_CAPS_protproperty DesignMode

(Inherited from Component.)

System_CAPS_pubproperty DisplayFolder

Gets or sets the display folder of a translation.

System_CAPS_protproperty Events

(Inherited from Component.)

System_CAPS_protproperty FriendlyName

Gets the friendly name of the translation.(Overrides ModelComponent.FriendlyName.)

System_CAPS_protproperty KeyForCollection

Gets the value of the key for the collection.(Overrides ModelComponent.KeyForCollection.)

System_CAPS_pubproperty Language

Gets or sets the language defined by a locale identifier code for a Translation.

System_CAPS_pubproperty OwningCollection

Gets or sets the collection that contains the ModelComponent.(Inherited from ModelComponent.)

System_CAPS_pubproperty Parent

Gets the IModelComponent object that is the parent of the ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubproperty Site

(Inherited from Component.)

Methods

Name Description
System_CAPS_protmethod AddToContainer(IContainer)

Adds a ModelComponent object to the specified container.(Inherited from ModelComponent.)

System_CAPS_protmethod AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.(Inherited from ModelComponent.)

System_CAPS_protmethod AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.(Inherited from ModelComponent.)

System_CAPS_protmethod AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.(Inherited from ModelComponent.)

System_CAPS_protmethod BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.(Inherited from ModelComponent.)

System_CAPS_pubmethod Clone()

Creates a new, full copy of an object.

System_CAPS_protmethod CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.(Inherited from ModelComponent.)

System_CAPS_pubmethod CopyTo(Translation)

Copies an Translation to the specified object.

System_CAPS_pubmethod CreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod Dispose()

(Inherited from Component.)

System_CAPS_protmethod Dispose(Boolean)

(Inherited from Component.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Component.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod GetService(Type)

(Inherited from Component.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod RemoveFromContainer(IContainer)

Removes a ModelComponent object from the specified container.(Inherited from ModelComponent.)

System_CAPS_protmethod Reset()

Resets the component to an initial state.(Inherited from ModelComponent.)

System_CAPS_pubmethod Submit()

Submits a ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubmethod Submit(Boolean)

Submits a ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubmethod ToString()

Returns a string that represents the current object.(Inherited from ModelComponent.)

System_CAPS_pubmethod Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.(Inherited from ModelComponent.)

System_CAPS_pubmethod Validate(ValidationErrorCollection, Boolean)

Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors.(Inherited from ModelComponent.)

System_CAPS_pubmethod Validate(ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether a ModelComponent object is valid.(Inherited from ModelComponent.)

Events

Name Description
System_CAPS_pubevent Disposed

(Inherited from Component.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICloneable.Clone()

Creates a copy of the Translation object.

System_CAPS_pubinterfaceSystem_CAPS_privproperty IHostableComponent.Host

(Inherited from ModelComponent.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IModelComponent.FriendlyPath

(Inherited from ModelComponent.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IModelComponent.OwningCollection

(Inherited from ModelComponent.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.AnalysisServices Namespace

Return to top