Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets of sets the numeric precision for the column if the data type is Decimal.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Property NumericPrecision As Short
Get
Set
'Usage
Dim instance As SyncSchemaColumn
Dim value As Short
value = instance.NumericPrecision
instance.NumericPrecision = value
public short NumericPrecision { get; set; }
public:
property short NumericPrecision {
short get ();
void set (short value);
}
member NumericPrecision : int16 with get, set
function get NumericPrecision () : short
function set NumericPrecision (value : short)
Property Value
Type: System.Int16
The numeric precision for the column if 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. |