Поделиться через


Свойство Measure.NumericScale

Gets the numeric scale for the Measure.

Пространство имен:  Microsoft.AnalysisServices.AdomdClient
Сборка:  Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)

Синтаксис

'Декларация
Public ReadOnly Property NumericScale As Short 
    Get
'Применение
Dim instance As Measure 
Dim value As Short 

value = instance.NumericScale
public short NumericScale { get; }
public:
property short NumericScale {
    short get ();
}
member NumericScale : int16
function get NumericScale () : short

Значение свойства

Тип: System.Int16
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.

См. также

Справочник

Measure Класс

Пространство имен Microsoft.AnalysisServices.AdomdClient