2.2.5.11 Annotation Object

The Annotation object represents application-specific name/value pairs for the parent object. The Analysis Services server is not expected to interpret annotations. Annotations can generally be defined as child objects of any logical metadata object in the Tabular model, as listed for the ObjectType property in the following table.

The Annotation object has the following properties.

Name

Type

Description

ID

unsignedLong

A reference to the object.

ObjectID

unsignedLong

An ID-based reference to the object.

ObjectType

int

The data type of the object specified by ObjectID. The possible values are as follows:

  • TM_TYPEID_Model (1)

  • TM_TYPEID_DataSource (2)

  • TM_TYPEID_Table (3)

  • TM_TYPEID_Column (4)

  • TM_TYPEID_AttributeHierarchy (5)

  • TM_TYPEID_Partition (6)

  • TM_TYPEID_Relationship (7)

  • TM_TYPEID_Measure (8)

  • TM_TYPEID_Hierarchy (9)

  • TM_TYPEID_Level (10)

  • TM_TYPEID_KPI (12)

  • TM_TYPEID_Culture (13)

  • TM_TYPEID_LinguisticMetadata (15)

  • TM_TYPEID_Perspective (29)

  • TM_TYPEID_PerspectiveTable (30)

  • TM_TYPEID_PerspectiveColumn (31)

  • TM_TYPEID_PerspectiveHierarchy (32)

  • TM_TYPEID_PerspectiveMeasure (33)

  • TM_TYPEID_Role (34)

  • TM_TYPEID_RoleMembership (35)

  • TM_TYPEID_TablePermission (36)

  • TM_TYPEID_Variation (37)<59>
    Requires compatibility level 1400 or higher

  • TM_TYPEID_Expression (41)<60>
    Requires compatibility level 1400 or higher

  • TM_TYPEID_ColumnPermission (42)<61>
    Requires compatibility level 1400 or higher

  • TM_TYPEID_CalculationGroup (46)<62>
    Requires compatibility level 1500 or higher

  • TM_TYPEID_QueryGroup (51)<63>
    Requires compatibility level 1500 or higher

Name

string

The name of the object.

Value

string

The value of the annotation.

ModifiedTime

dateTime

The time that the object was last modified.