Associations Property
The Associations property returns a collection of Association objects.
Syntax
object .Associations
Applies To
Discussion
Several types of objects in a model maintain a relationship with their underlying source column through an Associations collection. The association sets the source of the values for the object.
For example, categories in a level may get their source values from one column, such as product code, and their label values from another column, such as product name. In this case, the collection contains two Association objects, each with a different role.
For Measure objects, an association is valid only when the object has the MeasureType property set to trRegularMeasure. A measure that derives values from an association cannot use the ExpressionText and CategoryCountLevel properties to derive values. These are mutually exclusive.
Type
Object
Access
Read
Examples
objAssociation = objDrill.ConvergenceLevel.Associations.Add()