Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft