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


DataType.SmallInt Property

Gets a data type that specifies the SmallInt definition used in the data type.

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

Синтаксис

'Декларация
Public Shared ReadOnly Property SmallInt As DataType
public static DataType SmallInt { get; }
public:
static property DataType^ SmallInt {
    DataType^ get ();
}
/** @property */
public static DataType get_SmallInt ()
public static function get SmallInt () : DataType

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

A DataType object value that specifies a SmallInt definition in the data type.

Замечания

A SmallInt is an integer that is stored in 2 bytes. The maximum value is 32,767. The minimum value is -32,767.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Construct a DataType Object by Using the Default Constructor in Visual Basic .NET

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

DataType Class
DataType Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

int, bigint, smallint, и tinyint (Transact-SQL)
Working with Data Types