Поделиться через


Свойство Information.MaxPrecision

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property MaxPrecision As Byte 
    Get
'Применение
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

Значение свойства

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

Примеры

Настройка SQL Server в SMO

См. также

Справочник

Information Класс

Пространство имен Microsoft.SqlServer.Management.Smo