다음을 통해 공유


IsValid (Measure Interface)

[!참고]

  이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

The IsValid property of the Measure interface indicates whether the measure structure is valid.

Applies To:clsAggregationMeasure, clsCubeMeasure, clsPartitionMeasure

Data Type

Boolean

Access

Read-only

주의

Depending on the value of the ClassType property of the measure object, the IsValid property validates the properties and methods of the measure as indicated in the following table.

Class type

Validation

clsAggregationMeasure

Name, Parent, and SourceField properties

clsCubeMeasure

Name, Parent, SourceField, and ColumnType properties

clsPartitionMeasure

Name, Parent, SourceField, and ColumnType properties

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

'Assume an object (dsoCubeMea) of ClassType clsCubeMeasure exists
Dim bValid As Boolean
bValid = dsoCube.IsValid

참고 항목

참조