Dela via


SyncSchemaColumn.NumericScale Property

Gets of sets the numeric scale for the column when the data type is Decimal.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property NumericScale As Short
    Get
    Set
'Usage
Dim instance As SyncSchemaColumn
Dim value As Short

value = instance.NumericScale

instance.NumericScale = value
public short NumericScale { get; set; }
public:
property short NumericScale {
    short get ();
    void set (short value);
}
member NumericScale : int16 with get, set
function get NumericScale () : short
function set NumericScale (value : short)

Property Value

Type: System.Int16
The numeric scale for the column when the data type is Decimal; otherwise, -1.

Exceptions

Exception Condition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

ArgumentException

The column data type is not Decimal.

See Also

Reference

SyncSchemaColumn Class

Microsoft.Synchronization.Data Namespace