Partager via


Measure.AggregateFunction Property

Gets or sets the aggregate function applied to current measure.

Espace de noms: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntaxe

'Déclaration
<DefaultValueAttribute(AggregationFunction.Sum)> _
Public Property AggregateFunction As AggregationFunction
[DefaultValueAttribute(AggregationFunction.Sum)] 
public AggregationFunction AggregateFunction { get; set; }
[DefaultValueAttribute(AggregationFunction::Sum)] 
public:
property AggregationFunction AggregateFunction {
    AggregationFunction get ();
    void set (AggregationFunction value);
}
/** @property */
public AggregationFunction get_AggregateFunction ()

/** @property */
public void set_AggregateFunction (AggregationFunction value)
public function get AggregateFunction () : AggregationFunction

public function set AggregateFunction (value : AggregationFunction)

Valeur de propriété

An AggregationFunction enumeration value.

Notes

An AggregationFunction can have the following values: AverageOfChildren, ByAccount, Count, DistinctCount, FirstChild, FirstNonEmpty, LastChild, LastNonEmpty, Max, Min, None, Sum.

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

Measure Class
Measure Members
Microsoft.AnalysisServices Namespace