Aggregate 方法
Runs the Multidimensional Expressions (MDX) Aggregate function on a set and an expression.
命名空间: 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
The set to be aggregated.
- expression
类型:array<Microsoft.AnalysisServices.AdomdServer. . :: . .Expression> [] () [] []
The expression to be aggregated on each member of the set.
返回值
类型:System. . :: . .ValueType
A System.ValueType that contains the results of the aggregation.