Compartir a través de


Information.MaxPrecision Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property MaxPrecision As Byte 
    Get
'Uso
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

Valor de la propiedad

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

Ejemplos

Configurar SQL Server en SMO

Vea también

Referencia

Information Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo