IsValid

The IsValid property of the Level interface indicates whether the level structure is valid. A level is valid if it is fully and correctly defined. For example, a level whose FromClause has not been defined is invalid.

Applies To
clsAggregationLevel clsDatabaseLevel
clsCubeLevel clsPartitionLevel

Data Type

Boolean

Access

Read-only

Example

Use the following code to return the validity status of a level object:

' Assume an object (dsoLevel) of ClassType clsLevel exists

If Not dsoLevel.IsValid Then

  'Code to validate level definition

End If

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

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