共用方式為


DimensionAttribute.DiscretizationMethod Property

Gets or sets the method to be used for discretization.

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

語法

'宣告
<DefaultValueAttribute(DiscretizationMethod.None)> _
Public Property DiscretizationMethod As DiscretizationMethod
[DefaultValueAttribute(DiscretizationMethod.None)] 
public DiscretizationMethod DiscretizationMethod { get; set; }
[DefaultValueAttribute(DiscretizationMethod::None)] 
public:
property DiscretizationMethod DiscretizationMethod {
    DiscretizationMethod get ();
    void set (DiscretizationMethod value);
}
/** @property */
public DiscretizationMethod get_DiscretizationMethod ()

/** @property */
public void set_DiscretizationMethod (DiscretizationMethod value)
public function get DiscretizationMethod () : DiscretizationMethod

public function set DiscretizationMethod (value : DiscretizationMethod)

屬性值

A DiscretizationMethod object containing the method to be used for discretization.

備註

The value of DiscretizationMethod determines how values for the DimensionAttribute or ScalarMiningStructureColumn are discretized (organized into a specific set of groups). For more information about discretization methods, see 分隔方法.

The value of this property can be:

Value

Description

Automatic

Equivalent to the AUTOMATIC discretization method for mining structure columns.

EqualAreas

Equivalent to the EQUAL_AREAS discretization method for mining structure columns.

Clusters

Equivalent to the CLUSTERS discretization method for mining structure columns.

Thresholds

Equivalent to the THRESHOLDS discretization method for mining structure columns.

EqualRanges

Equivalent to the EQUAL_RANGES discretization method for mining structure columns.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace