Compartilhar via


MDX.Aggregate Method

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

Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
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

Parameters

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

Return Value

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MDX Class
MDX Members
Microsoft.AnalysisServices.AdomdServer Namespace