Share via


UserDefinedType.IsNullable Property

Gets the Boolean property that specifies whether the alias data type accepts null values.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property IsNullable As Boolean
    Get
'Usage
Dim instance As UserDefinedType
Dim value As Boolean

value = instance.IsNullable
[SfcPropertyAttribute]
public bool IsNullable { get; }
[SfcPropertyAttribute]
public:
property bool IsNullable {
    bool get ();
}
[<SfcPropertyAttribute>]
member IsNullable : bool
function get IsNullable () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether the alias data type accepts null values.
If True, the alias data type can accept null values.
If False (default), the alias data type is does not accept null values.