Delen via


CheckConstraintDefinition.NotForReplication Property

Gets or sets a value that indicates whether NOT FOR REPLICATION is used.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property NotForReplication As Boolean 
    Get 
    Set
'Usage
Dim instance As CheckConstraintDefinition 
Dim value As Boolean 

value = instance.NotForReplication

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

Property Value

Type: System.Boolean
true if NOT FOR REPLICATION is used; otherwise, false.

See Also

Reference

CheckConstraintDefinition Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace