Compartilhar via


ObjectTranslation Class

Definition

Represents the translations of metadata properties for the Culture parent object. Properties like the Name and Description of a metadata object can be translated. If they are not translated, the properties specified on the main object are used. The ObjectTranslation object has a weakly typed reference to the object that it is translating.

public sealed class ObjectTranslation : Microsoft.AnalysisServices.Tabular.MetadataObject
type ObjectTranslation = class
    inherit MetadataObject
Public NotInheritable Class ObjectTranslation
Inherits MetadataObject
Inheritance
ObjectTranslation

Constructors

ObjectTranslation()

Create a new instance of the ObjectTranslation class with default settings.

Properties

Altered

An indication if the translation of the property had been changed.

Culture

A reference to a Culture object that owns this ObjectTranslation.

IsRemoved

A Boolean specifying whether this object was removed from an object tree.

(Inherited from MetadataObject)
Model

Gets the Tabular model that contains this object.

(Inherited from MetadataObject)
ModifiedTime

The time that the object was last modified.

Object

A reference to the object that uses this ObjectTranslation.

ObjectType

Gets the type of the object.

Parent

Parent object, null for Model objects.

Property

Specifies which property of the object that is being translated. Possible values are as follows. Invalid (-1) Default invalid value. Caption (1) Object caption (shown instead of the name when available). Description (2) Object description. DisplayFolder (3) DisplayFolder property.

Value

The value of the translation.

Methods

Clone()

Creates a new, full copy of a ObjectTranslation object.

CopyFrom(ObjectTranslation)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(ObjectTranslation)

Copies a ObjectTranslation object to the specified object.

Validate()

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

(Inherited from MetadataObject)

Applies to