Share via


Measure.AggregateFunction Property

Gets or sets the aggregate function applied to current measure.

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

Syntax

'Declaration
Public Property AggregateFunction As AggregationFunction
    Get
    Set
'Usage
Dim instance As Measure
Dim value As AggregationFunction

value = instance.AggregateFunction

instance.AggregateFunction = value
public AggregationFunction AggregateFunction { get; set; }
public:
property AggregationFunction AggregateFunction {
    AggregationFunction get ();
    void set (AggregationFunction value);
}
member AggregateFunction : AggregationFunction with get, set
function get AggregateFunction () : AggregationFunction
function set AggregateFunction (value : AggregationFunction)

Property Value

Type: Microsoft.AnalysisServices.AggregationFunction
An AggregationFunction enumeration value.

Remarks

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