IsVisible (Level Interface)
Hinweis |
---|
Diese Funktion wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie so bald wie möglich das Ändern von Anwendungen, in denen es zurzeit verwendet wird. |
The IsVisible property of the Level interface determines whether the level is visible to client applications.
Applies To:clsAggregationLevel, clsCubeLevel, clsDatabaseLevel, clsPartitionLevel
Data Type
Boolean
Access
Access depends on the value of the ClassType property of the object.
Class type |
Access |
---|---|
clsDatabaseLevel |
R/W |
clsCubeLevel |
R/W |
clsPartitionLevel |
R |
clsAggregationLevel |
R |
Hinweise
Setting this property for a level of ClassType clsCubeLevel overrides the database setting of this property. Unlike other objects in the Decision Support Objects (DSO) library, a level cannot be referenced by calculated members or other Multidimensional Expressions (MDX) statements if its IsVisible property is False.
At least one level in a dimension must be visible. DSO raises an error if all the levels of a dimension have their IsVisible property set to False.