DataType.TinyInt プロパティ
データ型で使用する TinyInt 定義を示すデータ型を取得します。
名前空間: 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
データ型の TinyInt 定義を示す DataType オブジェクト値です。
説明
tinyint は、1 バイトで格納される整数です。 最大値は 255 です。 最小値は 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)
関連項目
参照
Microsoft.SqlServer.Management.Smo 名前空間