共用方式為


ReplicationColumn.AllowNulls Property

Definition

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

public:
 property bool AllowNulls { bool get(); void set(bool value); };
public bool AllowNulls { get; set; }
member this.AllowNulls : bool with get, set
Public Property AllowNulls As Boolean

Property Value

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

Remarks

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

Applies to