Freigeben über


Name (Dimension Interface)

HinweisHinweis

  Diese Funktion wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie so bald wie möglich das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

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

Applies To:clsAggregationDimension, clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

Data Type

String

Access

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

Hinweise

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.

Beispiel

Use the following code to print the names of the dimensions in a database:

'Assume an object (dsoDB) of ClassType clsDatabase exists.
Dim dsoDim As DSO.Dimension
Dim dimCounter As Integer
For dimCounter = 1 To dsoDB.Dimensions.Count
    Set dsoDim = dsoDB.Dimensions(dimCounter)
    Debug.Print dsoDim.Name 
Next dimCounter