Compartir a través de


Expression.CalculateMdxObject Method

Evaluates the Multidimensional Expressions (MDX) expression under a specific tuple and returns the result.

Espacio de nombres: Microsoft.AnalysisServices.AdomdServer
Ensamblado: msmgdsrv (in msmgdsrv.dll)

Sintaxis

'Declaración
Public Function CalculateMdxObject ( _
    tuple As Tuple _
) As MDXValue
public MDXValue CalculateMdxObject (
    Tuple tuple
)
public:
MDXValue^ CalculateMdxObject (
    Tuple^ tuple
)
public MDXValue CalculateMdxObject (
    Tuple tuple
)
public function CalculateMdxObject (
    tuple : Tuple
) : MDXValue

Parámetros

  • tuple
    The tuple under which to evaluate the MDX expression.

Valor devuelto

An MDXValue that contains the result of the MDX expression.

Notas

The type of the MDXValue that is returned can be a non-scalar value, such as a set, a tuple, or a member. The MDXValue that is returned can be cast using one of the To methods, such as ToSet, ToTuple, or ToMember. The MDXValue can also be cast by language-specific casting.

To retrieve a scalar value, such as an integer, double, or string, after evaluating an MDX expression, use the Calculate method.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Expression Class
Expression Members
Microsoft.AnalysisServices.AdomdServer Namespace