Share via


MDX Class

Provides static methods for executing Multidimensional Expressions (MDX) functions without constructing the full MDX syntax.

Inheritance Hierarchy

Object
  Microsoft.AnalysisServices.AdomdServer.MDX

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

Syntax

'Declaration
Public NotInheritable Class MDX
'Usage
Dim instance As MDX
public sealed class MDX
public ref class MDX sealed
[<SealedAttribute>]
type MDX =  class end
public final class MDX

The MDX type exposes the following members.

Methods

  Name Description
Public methodStatic member Aggregate Runs the Multidimensional Expressions (MDX) Aggregate function on a set and an expression.
Public methodStatic member CrossJoin Runs the Multidimensional Expressions (MDX) Crossjoin function on two sets.
Public methodStatic member DrilldownMember Runs the Multidimensional Expressions (MDX) DrilldownMember function on two sets.
Public method Equals (Inherited from Object.)
Public methodStatic member Filter Runs the Multidimensional Expressions (MDX) Filter function on a set.
Public methodStatic member Generate Runs the Multidimensional Expressions (MDX) Generate function on a set.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public methodStatic member ParallelPeriod Runs the Multidimensional Expressions (MDX) ParallelPeriod function.
Public methodStatic member StrToSet Runs the Multidimensional Expressions (MDX) StrToSet function.
Public method ToString (Inherited from Object.)

Top

Remarks

The MDX class functions similarly to Expression, but without the need to construct the statement from scratch. You can use predefined MDX functions to quickly return calculations.

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