IServerInformation.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
<DisplayDescriptionKeyAttribute("Server_MaxPrecisionDesc")> _
<DisplayNameKeyAttribute("Server_MaxPrecisionName")> _
ReadOnly Property MaxPrecision As Byte 
    Get
'Usage
Dim instance As IServerInformation 
Dim value As Byte 

value = instance.MaxPrecision
[DisplayDescriptionKeyAttribute("Server_MaxPrecisionDesc")]
[DisplayNameKeyAttribute("Server_MaxPrecisionName")]
byte MaxPrecision { get; }
[DisplayDescriptionKeyAttribute(L"Server_MaxPrecisionDesc")]
[DisplayNameKeyAttribute(L"Server_MaxPrecisionName")]
property unsigned char MaxPrecision {
    unsigned char get ();
}
[<DisplayDescriptionKeyAttribute("Server_MaxPrecisionDesc")>]
[<DisplayNameKeyAttribute("Server_MaxPrecisionName")>]
abstract MaxPrecision : byte
function get MaxPrecision () : byte

Property Value

Type: System.Byte
The greatest decimal precision available for exact numeric data types (not floating point), including decimal and numeric.

See Also

Reference

IServerInformation Interface

Microsoft.SqlServer.Management.Smo Namespace