Expression 类

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

继承层次结构

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdServer..::..Expression

命名空间:  Microsoft.AnalysisServices.AdomdServer
程序集:  msmgdsrv(在 msmgdsrv.dll 中)

语法

声明
Public NotInheritable Class Expression _
    Implements IDisposable
用法
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

Expression 类型公开以下成员。

构造函数

  名称 说明
公共方法 Expression() () () () Initializes a new instance of the Expression class.
公共方法 Expression(String) Initializes a new instance of the Expression class with the Multidimensional Expressions (MDX) expression to be evaluated.

页首

属性

  名称 说明
公共属性 ExpressionText Gets or sets the Multidimensional Expressions (MDX) expression to be evaluated.

页首

方法

  名称 说明
公共方法 {dtor} Releases all resources used by the Expression.
公共方法 Calculate Evaluates the Multidimensional Expressions (MDX) expression under a specified tuple and returns the scalar result.
公共方法 CalculateMdxObject Evaluates the Multidimensional Expressions (MDX) expression under a specific tuple and returns the result.
公共方法 Dispose Releases all resources used by the Expression.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。