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 | |
|---|---|---|
| .gif) | Expression() | Initializes a new instance of the Expression class. | 
| .gif) | Expression(String) | Initializes a new instance of the Expression class with the Multidimensional Expressions (MDX) expression to be evaluated. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | ExpressionText | Gets or sets the Multidimensional Expressions (MDX) expression to be evaluated. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | {dtor} | Releases all resources used by the Expression. | 
| .gif) | Calculate | Evaluates the Multidimensional Expressions (MDX) expression under a specified tuple and returns the scalar result. | 
| .gif) | CalculateMdxObject | Evaluates the Multidimensional Expressions (MDX) expression under a specific tuple and returns the result. | 
| .gif) | Dispose | Releases all resources used by the Expression. | 
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Object.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetType | (Inherited from Object.) | 
| .gif) | MemberwiseClone | (Inherited from Object.) | 
| .gif) | 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.