다음을 통해 공유


Name (Dimension Interface)

[!참고]

  이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

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)

주의

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.

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