NullableConstraintDefinition.Nullable 属性

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

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

语法

声明
Public Property Nullable As Boolean 
    Get 
    Set
用法
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)

属性值

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

请参阅

参考

NullableConstraintDefinition 类

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间