Column.NotForReplication Property


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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Deploy)]
public bool NotForReplication { get; set; }

Property Value

Type: System.Boolean

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).


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

Return to top