UserDefinedType.IsNullable 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsNullable As Boolean 
    Get
用法
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

属性值

类型: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.

示例

使用 CLR 用户定义类型

请参阅

参考

UserDefinedType 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

使用数据类型

CREATE TYPE (Transact-SQL)