SqlFacetAttribute.Scale Property


The scale of the return type of the user-defined type.

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public int Scale { get; set; }

Property Value

Type: System.Int32

An Int32 representing the scale of the return type.

The Scale property is valid only for decimal types. The Precision property must also be specified when setting the Scale property.

The maximum value of the Scale property is 38; the default value is 0.

.NET Framework
Available since 2.0
Return to top