Expression Class

Provides the functionality to evaluate a Multidimensional Expressions (MDX) expression and return an MDXValue.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.Expression

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public NotInheritable Class Expression _
    Implements IDisposable
'Usage
Dim instance As Expression
public sealed class Expression : IDisposable
public ref class Expression sealed : IDisposable
[<SealedAttribute>]
type Expression =  
    class 
        interface IDisposable 
    end
public final class Expression implements IDisposable

The Expression type exposes the following members.

Constructors

  Name Description
Public method Expression() Initializes a new instance of the Expression class.
Public method Expression(String) Initializes a new instance of the Expression class with the Multidimensional Expressions (MDX) expression to be evaluated.

Top

Properties

  Name Description
Public property ExpressionText Gets or sets the Multidimensional Expressions (MDX) expression to be evaluated.

Top

Methods

  Name Description
Public method {dtor} Releases all resources used by the Expression.
Public method Calculate Evaluates the Multidimensional Expressions (MDX) expression under a specified tuple and returns the scalar result.
Public method CalculateMdxObject Evaluates the Multidimensional Expressions (MDX) expression under a specific tuple and returns the result.
Public method Dispose Releases all resources used by the Expression.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.AnalysisServices.AdomdServer Namespace