共用方式為


Measure.AggregateFunction 屬性

Gets or sets the aggregate function applied to current measure.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Property AggregateFunction As AggregationFunction 
    Get 
    Set
'用途
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)

屬性值

型別:Microsoft.AnalysisServices.AggregationFunction
An AggregationFunction enumeration value.

備註

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

請參閱

參考

Measure 類別

Microsoft.AnalysisServices 命名空間