Freigeben über


UserDefinedType.IsNullable-Eigenschaft

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(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsNullable As Boolean 
    Get
'Usage
Dim instance As UserDefinedType 
Dim value As Boolean 

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

Eigenschaftswert

Typ: 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.

Beispiele

Arbeiten mit CLR-benutzerdefinierten Typen

Siehe auch

Verweis

UserDefinedType Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Arbeiten mit Datentypen

CREATE TYPE (Transact-SQL)