IsValid (Level Interface)

注意注意

  この機能は、Microsoft SQL Server の次のバージョンで削除されます。 新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

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 for which the FromClause has not been defined is not valid.

Applies To:clsAggregationLevel, clsCubeLevel, clsDatabaseLevel, clsPartitionLevel

Data Type

Boolean

Access

Read-only

使用例

Use the following code to have Decision Support Objects (DSO) determine the validity of a level object:

' Assume an object (dsoLevel) of ClassType clsLevel exists
If Not dsoLevel.IsValid Then
  'Code to validate level definition
End If

関連項目

参照