Precision Property
Collapse the table of content
Expand the table of content

SqlFacetAttribute.Precision Property


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

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

public int Precision { get; set; }

Property Value

Type: System.Int32

An Int32 representing the precision of the return type.

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

The maximum value of the Precision property is 38; the default value is 38.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft