Partager via


IsVirtual (Dimension Interface)

[!REMARQUE]

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

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

Notes

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.