Delen via


AlterTableConstraintModificationStatement.ExistingRowsCheckEnforcement Property

Gets or sets whether the data in the table is validated against a newly added or re-enabled FOREIGN KEY or CHECK constraint.

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

Syntax

'Declaration
Public Property ExistingRowsCheckEnforcement As ConstraintEnforcement 
    Get 
    Set
'Usage
Dim instance As AlterTableConstraintModificationStatement 
Dim value As ConstraintEnforcement 

value = instance.ExistingRowsCheckEnforcement

instance.ExistingRowsCheckEnforcement = value
public ConstraintEnforcement ExistingRowsCheckEnforcement { get; set; }
public:
property ConstraintEnforcement ExistingRowsCheckEnforcement {
    ConstraintEnforcement get ();
    void set (ConstraintEnforcement value);
}
member ExistingRowsCheckEnforcement : ConstraintEnforcement with get, set
function get ExistingRowsCheckEnforcement () : ConstraintEnforcement 
function set ExistingRowsCheckEnforcement (value : ConstraintEnforcement)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintEnforcement
A value that represents the data in the table that is validated against a newly added or re-enabled FOREIGN KEY or CHECK constraint.

See Also

Reference

AlterTableConstraintModificationStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace