Partager via


DataPrecision propriété

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (dans Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Property DataPrecision As Integer
    Get
    Set
'Utilisation
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)

Valeur de la propriété

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

Notes

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.