Partager via


MDX.Aggregate Method

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

Espace de noms: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)

Syntaxe

'Déclaration
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

Paramètres

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

Valeur de retour

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

MDX Class
MDX Members
Microsoft.AnalysisServices.AdomdServer Namespace