Compartilhar via


Propriedade do RDL Measure.NumericPrecision

Gets the numeric precision value for the Measure.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public ReadOnly Property NumericPrecision As Integer 
    Get
'Uso
Dim instance As Measure 
Dim value As Integer 

value = instance.NumericPrecision
public int NumericPrecision { get; }
public:
property int NumericPrecision {
    int get ();
}
member NumericPrecision : int
function get NumericPrecision () : int

Valor da propriedade

Tipo: System.Int32
An Integer that contains a value representing the numeric precision of the Measure.

Comentários

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.

Consulte também

Referência

Measure Classe

Namespace Microsoft.AnalysisServices.AdomdClient