Compartilhar via


Propriedade do RDL Expression

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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public ReadOnly Property Expression As String
    Get
'Uso
Dim instance As Measure
Dim value As String

value = instance.Expression
public string Expression { get; }
public:
property String^ Expression {
    String^ get ();
}
member Expression : string
function get Expression () : String

Valor da propriedade

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

Comentários

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.