AlterTableConstraintModificationStatement.ExistingRowsCheckEnforcement 属性

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

命名空间:  Microsoft.SqlServer.TransactSql.ScriptDom
程序集:  Microsoft.SqlServer.TransactSql.ScriptDom(在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

语法

声明
Public Property ExistingRowsCheckEnforcement As ConstraintEnforcement 
    Get 
    Set
用法
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)

属性值

类型: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.

请参阅

参考

AlterTableConstraintModificationStatement 类

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间