The IsValid property of the Dimension interface indicates whether the structure of a dimension object is valid. A structure is valid if it is fully and correctly defined. For example, a dimension object whose data source has not been defined is not valid.
Boolean
Read-only
Depending on the value of the ClassType property of the object, the IsValid property checks different structure elements to confirm validity, as described in the following table.
| Class type | Checks |
|---|---|
| ClsDatabaseDimension | The Name and Parent properties; the database |
| ClsCubeDimension | The Name and Parent properties; the source cube; the dimension and levels |
| ClsPartitionDimension | The Name and Parent properties |
| ClsAggregationDimension | The Name and Parent properties; the IsValid property of the parent object of ClassType clsPartitionDimension |