Поделиться через


Свойство Nullable

Gets or sets the Boolean property value that specifies whether the column can accept null values.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute> _
Public Property Nullable As Boolean
    Get
    Set
'Применение
Dim instance As Column
Dim value As Boolean

value = instance.Nullable

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

Значение свойства

Тип System. . :: . .Boolean
A Boolean value that specifies whether the column can accept null values.
If True, the column can accept null values. Otherwise, False (default).