Compartilhar via


Propriedade do RDL DataPrecision

Gets or sets the total number of digits in a column that is defined as a numeric data type.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public Property DataPrecision As Integer
    Get
    Set
'Uso
Dim instance As FlatFileColumn
Dim value As Integer

value = instance.DataPrecision

instance.DataPrecision = value
public int DataPrecision { get; set; }
public:
property int DataPrecision {
    int get ();
    void set (int value);
}
member DataPrecision : int with get, set
function get DataPrecision () : int
function set DataPrecision (value : int)

Valor da propriedade

Tipo: System. . :: . .Int32
An Integer that defines the total digits in a numeric data type.

Comentários

Precision is the number of digits in a number. For example, the number 123.45 has a precision of 5 and a scale of 2.