IsVirtual (Dimension Interface)

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

The IsVirtual property of the Dimension interface indicates whether the dimension is virtual.

Applies To:clsAggregationDimension, clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

Data Type

Boolean

Access

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

Class type

Access

clsDatabaseDimension

R/W

clsCubeDimension

R

clsPartitionDimension

R

clsAggregationDimension

R

備註

A virtual dimension is based upon the contents of another dimension. The DependsOnDimension property contains the name of source dimension of the virtual dimension.

For objects of ClassType clsDatabaseDimension, the IsVirtual property cannot be set to True if the SubClassType is sbclsParentChild or sbclsMining, or if the IsVirtual property is set to True for any level of the dimension.