Condividi tramite


Metodo Aggregate

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

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Public Shared Function Aggregate ( _
    set As Set, _
    ParamArray expression As Expression() _
) As ValueType
'Utilizzo
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

Parametri

Valore restituito

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