DataType.Bit Property
Gets a data type that specifies the Bit definition used in the data type.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Shared ReadOnly Property Bit As DataType
Get
'Kullanım
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.DataType
A DataType object value that specifies a Bit definition in the data type.
Examples
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)