Partager via


Propriété Information.MaxPrecision

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property MaxPrecision As Byte 
    Get
'Utilisation
Dim instance As Information 
Dim value As Byte 

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

Valeur de propriété

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

Exemples

Configuration de SQL Server dans SMO

Voir aussi

Référence

Information Classe

Espace de noms Microsoft.SqlServer.Management.Smo