Dela 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
public int DataPrecision { get; set; }
public:
property int DataPrecision {
    int get ();
    void set (int value);
}
/** @property */
public int get_DataPrecision ()

/** @property */
public void set_DataPrecision (int value)
public function get DataPrecision () : int

public function set DataPrecision (value : int)

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

FlatFileColumn Class
FlatFileColumn Members
Microsoft.SqlServer.Dts.Runtime Namespace