共用方式為


Measure.Expression Property

Gets the MDX expression that is used to aggregate the Measure.

命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (in msmgdsrv.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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Measure Class
Measure Members
Microsoft.AnalysisServices.AdomdServer Namespace