MDX.Aggregate 方法
在集合與運算式上執行多維度運算式 (MDX) 彙總函式。
命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (在 msmgdsrv.dll 中)
語法
'宣告
Public Shared Function Aggregate ( _
set As Set, _
ParamArray expression As Expression() _
) As ValueType
'用途
Dim set As Set
Dim expression As Expression()
Dim returnValue As ValueType
returnValue = MDX.Aggregate(set, _
expression)
public static ValueType Aggregate(
Set set,
params Expression[] expression
)
public:
static ValueType^ Aggregate(
Set^ set,
... array<Expression^>^ expression
)
static member Aggregate :
set:Set *
expression:Expression[] -> ValueType
public static function Aggregate(
set : Set,
... expression : Expression[]
) : ValueType
參數
- set
型別:Microsoft.AnalysisServices.AdomdServer.Set
要彙總的集合。
- expression
型別:array<Microsoft.AnalysisServices.AdomdServer.Expression[]
要在每個集合成員上彙總的的運算式。
傳回值
型別:ValueType
包含彙總結果的 System.ValueType。