Share via


Information.MaxPrecision Property

Gets the greatest decimal precision available for exact numeric data types (not floating point), including decimal and numeric.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property MaxPrecision As Byte
    Get
'Usage
Dim instance As Information
Dim value As Byte

value = instance.MaxPrecision
[SfcPropertyAttribute]
public byte MaxPrecision { get; }
[SfcPropertyAttribute]
public:
property unsigned char MaxPrecision {
    unsigned char get ();
}
[<SfcPropertyAttribute>]
member MaxPrecision : byte
function get MaxPrecision () : byte

Property Value

Type: System.Byte
A Byte value that specifies the maximum decimal precision for numeric data types on the instance of SQL Server.