NumericScale Propiedad
Gets or sets the maximum number of digits to the right of the decimal point in a numeric value used in the definition of the user-defined data type.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property NumericScale As Integer
Get
Set
'Uso
Dim instance As UserDefinedDataType
Dim value As Integer
value = instance.NumericScale
instance.NumericScale = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public int NumericScale { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property int NumericScale {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member NumericScale : int with get, set
function get NumericScale () : int
function set NumericScale (value : int)
Valor de la propiedad
Tipo: System. . :: . .Int32
A Byte value that specifies the numerical scale of the user-defined data type.
Notas
Numerical scale specifies the number of digits to the right of the decimal point in a number. For example, the number 123.45 has a numerical scale of 2.