IsValid

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 invalid.

Applies To
clsAggregationDimension clsDatabaseDimension
clsCubeDimension clsPartitionDimension

Data Type

Boolean

Access

Read-only

Example

Use the following code to determine whether the structure of a dimension object is valid:

'Assume an object (dsoDim) of ClassType clsDimension exists

Dim bValid As Boolean

bValid = dsoDim.IsValid

If bValid Then

    'Code to process a valid dimension

Else

    'Something is not valid - handle errors

End If

See Also
About Decision Support Objects Using Decision Support Objects
Properties Cross-Reference  

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.