SqlFacetAttribute.Scale Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

member Scale : int with 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