MDX.Aggregate Method

Runs the Multidimensional Expressions (MDX) Aggregate function on a set and an expression.

命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv (in msmgdsrv.dll)

语法

声明
Public Shared Function Aggregate ( _
    set As Set, _
    ParamArray expression As Expression() _
) As ValueType
public static ValueType Aggregate (
    Set set,
    params Expression[] expression
)
public:
static ValueType^ Aggregate (
    Set^ set, 
    ... array<Expression^>^ expression
)
public static ValueType Aggregate (
    Set set, 
    Expression[] expression
)
public static function Aggregate (
    set : Set, 
    ... expression : Expression[]
) : ValueType

参数

  • set
    The set to be aggregated.
  • expression
    The expression to be aggregated on each member of the set.

返回值

A System.ValueType that contains the results of the aggregation.

线程安全

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

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

MDX Class
MDX Members
Microsoft.AnalysisServices.AdomdServer Namespace