DataType.TinyInt Property


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

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

public static DataType TinyInt { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.DataType

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

A tinyint is an integer that is stored in 1 byte. The maximum value is 255. The minimum value is 0.

Visual Basic

Dim dt As DataType
dt = New DataType(SqlDataType.TinyInt)


$dt = new-object Microsoft.SqlServer.Management.Smo.DataType([Microsoft.SqlServer.Management.Smo.SqlDataType]::TinyInt)
Return to top