共用方式為


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