共用方式為


Measure.NumericScale Property

Gets the numeric scale for the Measure.

命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (in msmgdsrv.dll)

語法

'宣告
Public ReadOnly Property NumericScale As Integer
public int NumericScale { get; }
public:
property int NumericScale {
    int get ();
}
/** @property */
public int get_NumericScale ()
public function get NumericScale () : int

屬性值

A Short that contains a value representing the numeric scale of the Measure. An Int16 that contains a value representing the numeric scale of the Measure.

備註

The NumericScale property describes the numeric scale, or the maximum number of digits to the right of the decimal point, of the OLE DB data type for the measure. If the measure does not have a numeric data type, this property returns a value of 0. Otherwise, the value of this property represents the numeric scale for the specified data type as supported by the underlying data source.

For more information about numeric scale in OLE DB, see Chapter 13, "Data Types in OLE DB" in the OLE DB documentation.

The value of this property is identical to the value of the NUMERIC_SCALE column of the MEASURES schema rowset for the specified measure.

執行緒安全性

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.AdomdServer Namespace