MDX.Generate Method
Runs the Multidimensional Expressions (MDX) Generate function on a set.
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Syntax
'Declaration
Public Shared Function Generate ( _
set As Set, _
ParamArray parameters As Object() _
) As MDXValue
'Usage
Dim set As Set
Dim parameters As Object()
Dim returnValue As MDXValue
returnValue = MDX.Generate(set, _
parameters)
public static MDXValue Generate(
Set set,
params Object[] parameters
)
public:
static MDXValue^ Generate(
Set^ set,
... array<Object^>^ parameters
)
static member Generate :
set:Set *
parameters:Object[] -> MDXValue
public static function Generate(
set : Set,
... parameters : Object[]
) : MDXValue
Parameters
- set
Type: Microsoft.AnalysisServices.AdomdServer.Set
The set to be evaluated.
- parameters
Type: array<System.Object[]
The parameters to be used when performing the generation function.
Return Value
Type: Microsoft.AnalysisServices.AdomdServer.MDXValue
A set or an optional delimited string.
Remarks
params can be set to one of the values shown in the following table.
Parameter |
Value |
---|---|
params[0] params[1] |
params[0] contains the set to apply. (Optional) params[1] contains ALL. |
params[0] params[1] |
params[0] contains a string expression. (Optional) params[1] contains the delimiter string. |