Name

The Name property of the Dimension interface contains the name of a dimension object.

Applies To
clsAggregationDimension clsDatabaseDimension
clsCubeDimension clsPartitionDimension

Data Type

String

Access

Read/write (read-only after the object has been named)

Remarks

The primary mechanism for identifying the data in a dimension is the Name property. The purpose of the Description property is to provide additional descriptive information.

Example

'Assume an object (dsoDB) of ClassType clsMDStore exists

Dim dsoDim As DSO.Dimension

Dim dimCounter As Integer

For dimCounter = 1 To dsoDB.Dimensions.Count

    Set dsoDim = dsoDB.Dimensions(dimCounter)

    If dsoDim.Name = "MyDim" Then

        'Do something with dimension

    End If

Next dimCounter

See Also
About Decision Support Objects Using Decision Support Objects
Properties Cross-Reference  

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.