Udostępnij przez


IServerInformation.MaxPrecision Property

Gets the greatest decimal precision available for exact numeric data types (not floating point), including decimal and numeric. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayNameKeyAttribute("Server_MaxPrecisionName")> _
<DisplayDescriptionKeyAttribute("Server_MaxPrecisionDesc")> _
ReadOnly Property MaxPrecision As Byte
[DisplayNameKeyAttribute("Server_MaxPrecisionName")] 
[DisplayDescriptionKeyAttribute("Server_MaxPrecisionDesc")] 
byte MaxPrecision { get; }
[DisplayNameKeyAttribute(L"Server_MaxPrecisionName")] 
[DisplayDescriptionKeyAttribute(L"Server_MaxPrecisionDesc")] 
property unsigned char MaxPrecision {
    unsigned char get ();
}
/** @property */
byte get_MaxPrecision ()
function get MaxPrecision () : byte

Property Value

Byte

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.