Measure.AggregateFunction Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the aggregate function applied to current measure.

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

Syntax

[DefaultValueAttribute(AggregationFunction.Sum)]
public AggregationFunction AggregateFunction { get; set; }
public:
[DefaultValueAttribute(AggregationFunction::Sum)]
property AggregationFunction AggregateFunction {
    AggregationFunction get();
    void set(AggregationFunction value);
}
[<DefaultValueAttribute(AggregationFunction.Sum)>]
member AggregateFunction : AggregationFunction with get, set
<DefaultValueAttribute(AggregationFunction.Sum)>
Public Property AggregateFunction As 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.

See Also

Measure Class
Microsoft.AnalysisServices Namespace

Return to top