Nullable 属性

Gets or sets the Boolean property value that specifies whether the user-defined data type accepts null values or not.

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Nullable As Boolean
    Get
    Set
用法
Dim instance As UserDefinedDataType
Dim value As Boolean

value = instance.Nullable

instance.Nullable = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public bool Nullable { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property bool Nullable {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Nullable : bool with get, set
function get Nullable () : boolean
function set Nullable (value : boolean)

属性值

类型:System. . :: . .Boolean
A Boolean value that specifies whether the user-defined data type accepts null values.
If True, the user-defined data type accepts null values.
If False (default), the user-defined data type does not accept null values.