OrdinalPosition (Measure Interface)

ms133906.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 OrdinalPosition property of the Measure interface contains the ordinal position of the measure in the Measures collection of the parent object.

Applies To:clsAggregationMeasure, clsCubeMeasure, clsPartitionMeasure

Data Type

Integer

Access

Read-only

Hinweise

If no default measure is specified, the first measure is the default measure for the cube. If a Multidimensional Expressions (MDX) expression or query does not contain an explicit reference to a measure, the Analysis server performs the command using the default measure.

Beispiel

Use the following code to return the ordinal position of a measure object:

Dim OrdPos As Integer
OrdPos = MeasureObject.OrdinalPosition

Siehe auch

Verweis

Measure Interface

Hilfe und Informationen

Informationsquellen für SQL Server 2005