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)

public static DataType Bit { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.DataType

A DataType object value that specifies a Bit definition in the data type.

Visual Basic

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


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