Description (Dimension Interface)

注意注意

  下一版本的 Microsoft SQL Server 将删除该功能。 请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

The Description property of the Dimension interface contains the description of a dimension object.

Applies To:clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

Data Type

String

Access

Access depends on the value of the ClassType property of the object.

Class type

Access

clsDatabaseDimension

R/W

clsCubeDimension

R

clsPartitionDimension

R

注释

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 set the description of a dimension object:

'Assume an object (dsoDim) of ClassType clsDatabaseDimension exists.
dsoDim.Description = "Total dollar sales"