Jaa


Measure.NumericScale Property

Gets the numeric scale for the Measure.

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
Public ReadOnly Property NumericScale As Short
public short NumericScale { get; }
public:
property short NumericScale {
    short get ();
}
/** @property */
public short get_NumericScale ()
public function get NumericScale () : short

Property Value

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.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Measure Class
Measure Members
Microsoft.AnalysisServices.AdomdClient Namespace