Compartilhar 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
<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)

Property Value

An AggregationFunction enumeration value.

Remarks

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Measure Class
Measure Members
Microsoft.AnalysisServices Namespace