SqlMetaData.Precision Property

 

Gets the precision of the column or parameter.

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

public byte Precision { get; }

Property Value

Type: System.Byte

The precision of the column or parameter as a Byte.

Returns 0 if the precision of the underlying column type is not defined.

.NET Framework
Available since 2.0
Return to top
Show: