IsValid (Measure Interface)

ms135531.note(de-de,SQL.90).gifHinweis:
  Dieses Feature wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature nicht zum Entwickeln neuer Anwendungen, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird, zum frühstmöglichen Zeitpunkt ein.

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

Hinweise

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

Beispiel

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

Siehe auch

Verweis

Measure Interface

Hilfe und Informationen

Informationsquellen für SQL Server 2005