DataType.Int プロパティ
データ型で使用する Int 定義を示すデータ型を取得します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Shared ReadOnly Property Int As DataType
Get
'使用
Dim value As DataType
value = DataType.Int
public static DataType Int { get; }
public:
static property DataType^ Int {
DataType^ get ();
}
static member Int : DataType
static function get Int () : DataType
プロパティ値
型: Microsoft.SqlServer.Management.Smo.DataType
データ型の Int 定義を示す DataType オブジェクト値です。
説明
Int は、4 バイトで格納される整数です。 最大値は 2,147,483,647 です。 最小値は -2,147,483,648 です。
使用例
Visual Basic
Dim d As DataType
d = New DataType(SqlDataType.Int)
PowerShell
$dt = new-object Microsoft.SqlServer.Management.Smo.DataType([Microsoft.SqlServer.Management.Smo.SqlDataType]::Int)
関連項目
参照
Microsoft.SqlServer.Management.Smo 名前空間