次の方法で共有


OrdinalPosition (Measure Interface)

ms133906.note(ja-jp,SQL.90).gifメモ :
  この機能は、Microsoft SQL Server の次のバージョンで削除されます。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

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

解説

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.

使用例

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

Dim OrdPos As Integer
OrdPos = MeasureObject.OrdinalPosition

参照

関連項目

Measure Interface

ヘルプおよび情報

SQL Server 2005 の参考資料の入手