Column.NotForReplication Column.NotForReplication Column.NotForReplication Property

Definition

Gets the Boolean property value that specifies whether the column is participating in replication.

public:
 property bool NotForReplication { bool get(); void set(bool value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.ReadOnlyAfterCreation | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Deploy)]
public bool NotForReplication { get; set; }
Public Property NotForReplication As Boolean
Property Value

A Boolean value that specifies whether the column participates in replication.

If True, the column is being published in SQL Server replication. Otherwise, False (default).

Examples

Working with Database Objects

Remarks

Note

The value of the NotForReplication property is always computed from sys.columns for columns based on the UserDefinedTableType object.

Applies to