DataType.Bit プロパティ

データ型で使用する Bit 定義を示すデータ型を取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Shared ReadOnly Property Bit As DataType 
    Get
'使用
Dim value As DataType 

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

プロパティ値

型: Microsoft.SqlServer.Management.Smo.DataType
データ型の Bit 定義を示す DataType オブジェクト値です。

使用例

Visual Basic

Dim d As DataType
d = New DataType(SqlDataType.Bit)

PowerShell

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

関連項目

参照

DataType クラス

Microsoft.SqlServer.Management.Smo 名前空間