Share via


ReplicationColumn.AllowNulls Property

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

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntax

'Declaration
Public Property AllowNulls As Boolean
public bool AllowNulls { get; set; }
public:
property bool AllowNulls {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_AllowNulls ()

/** @property */
public void set_AllowNulls (boolean value)
public function get AllowNulls () : boolean

public function set AllowNulls (value : 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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ReplicationColumn Class
ReplicationColumn Members
Microsoft.SqlServer.Replication Namespace