Delen via


NullableConstraintDefinition.Nullable Property

Gets or sets a value that indicates whether the column can be NULL.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property Nullable As Boolean 
    Get 
    Set
'Usage
Dim instance As NullableConstraintDefinition 
Dim value As Boolean 

value = instance.Nullable

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

Property Value

Type: System.Boolean
true if the column can be NULL; otherwise, false.

See Also

Reference

NullableConstraintDefinition Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace