Share via


FlatFileColumn.DataPrecision Property

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 (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Property DataPrecision As Integer
    Get
    Set
'Usage
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)

Property Value

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

Remarks

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.