Поделиться через


Свойство DataPrecision

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
Public Property DataPrecision As Integer
    Get
    Set
'Применение
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)

Значение свойства

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

Замечания

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.