共用方式為


Measure.AggregateFunction Property

Gets or sets the aggregate function applied to current measure.

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
<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)

屬性值

An AggregationFunction enumeration value.

備註

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

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Measure Class
Measure Members
Microsoft.AnalysisServices Namespace