共用方式為


AllowNulls 屬性

Gets or sets whether the column can accept null as a value or not.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property AllowNulls As Boolean
    Get
    Set
'用途
Dim instance As ReplicationColumn
Dim value As Boolean

value = instance.AllowNulls

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

屬性值

型別:System. . :: . .Boolean
A Boolean value. If true, the column referenced can accept null as a value. If false, null is not allowed.

備註

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.