We recommend using Visual Studio 2017

MDX Class

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


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

public sealed class MDX

The MDX type exposes the following members.

Public methodStatic memberAggregateRuns the Multidimensional Expressions (MDX) Aggregate function on a set and an expression.
Public methodStatic memberCrossJoinRuns the Multidimensional Expressions (MDX) Crossjoin function on two sets.
Public methodStatic memberDrilldownMemberRuns the Multidimensional Expressions (MDX) DrilldownMember function on two sets.
Public methodEquals (Inherited from Object.)
Public methodStatic memberFilterRuns the Multidimensional Expressions (MDX) Filter function on a set.
Public methodStatic memberGenerateRuns the Multidimensional Expressions (MDX) Generate function on a set.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberParallelPeriodRuns the Multidimensional Expressions (MDX) ParallelPeriod function.
Public methodStatic memberStrToSetRuns the Multidimensional Expressions (MDX) StrToSet function.
Public methodToString (Inherited from Object.)

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.

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