다음을 통해 공유


DataType.TinyInt 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Shared ReadOnly Property TinyInt As DataType 
    Get
‘사용 방법
Dim value As DataType 

value = DataType.TinyInt
public static DataType TinyInt { get; }
public:
static property DataType^ TinyInt {
    DataType^ get ();
}
static member TinyInt : DataType
static function get TinyInt () : DataType

속성 값

유형: 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)

PowerShell

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

참고 항목

참조

DataType 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

int, bigint, smallint 및 tinyint(Transact-SQL)