Aracılığıyla paylaş


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

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsNullable As Boolean
    Get
'Kullanım
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

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.

Examples

Working with CLR User-defined Types

See Also

Reference

UserDefinedType Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with Data Types

CREATE TYPE (Transact-SQL)