MDX.Generate 方法
Runs the Multidimensional Expressions (MDX) Generate function on a set.
命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (在 msmgdsrv.dll 中)
語法
'宣告
Public Shared Function Generate ( _
set As Set, _
ParamArray parameters As Object() _
) As MDXValue
'用途
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
參數
- set
型別:Microsoft.AnalysisServices.AdomdServer.Set
The set to be evaluated.
- parameters
型別:array<System.Object[]
The parameters to be used when performing the generation function.
傳回值
型別:Microsoft.AnalysisServices.AdomdServer.MDXValue
A set or an optional delimited string.
備註
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. |