共用方式為


Description (Dimension Interface)

ms134770.note(zh-tw,SQL.90).gif附註:
  下一版的 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"

請參閱

參考

Dimension Interface
Name (Dimension Interface)

說明及資訊

取得 SQL Server 2005 協助