Partager via


Measure.NumericPrecision Property

Gets the numeric precision value for the Measure.

Espace de noms: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)

Syntaxe

'Déclaration
Public ReadOnly Property NumericPrecision As Integer
public int NumericPrecision { get; }
public:
property int NumericPrecision {
    int get ();
}
/** @property */
public int get_NumericPrecision ()
public function get NumericPrecision () : int

Valeur de propriété

An Integer that contains a value representing the numeric precision of the Measure.

Notes

The NumericPrecision property describes the numeric precision, or the maximum number of digits, 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 maximum numeric precision for the specified data type as supported by the underlying data source.

For more information about numeric precision 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_PRECISION column of the MEASURES schema rowset for the specified measure.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Measure Class
Measure Members
Microsoft.AnalysisServices.AdomdServer Namespace