Поделиться через


Measure.Expression Property

Gets the Multidimensional Expressions (MDX) expression that is used to aggregate the Measure.

Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Синтаксис

'Декларация
Public ReadOnly Property Expression As String
public string Expression { get; }
public:
property String^ Expression {
    String^ get ();
}
/** @property */
public String get_Expression ()
public function get Expression () : String

Значение свойства

A String containing the MDX expression that is used to aggregate values for a Measure.

Замечания

Calculated measures use MDX expressions to supply their values, instead of binding to columns in a data source. The Expression property contains the MDX expression used to supply the values for a Measure only if the Measure is a calculated measure. Otherwise, this property contains an empty string ("").

The value of this property is identical to the value of the EXPRESSION column of the MEASURES schema rowset for the specified measure.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Measure Class
Measure Members
Microsoft.AnalysisServices.AdomdClient Namespace