Propriedade do RDL AlterTableConstraintModificationStatement.ConstraintEnforcement
Sets whether the constraint is enabled or disabled. When disabled, future inserts or updates to the column are not validated against the constraint conditions.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
Public Property ConstraintEnforcement As ConstraintEnforcement
Get
Set
'Uso
Dim instance As AlterTableConstraintModificationStatement
Dim value As ConstraintEnforcement
value = instance.ConstraintEnforcement
instance.ConstraintEnforcement = value
public ConstraintEnforcement ConstraintEnforcement { get; set; }
public:
property ConstraintEnforcement ConstraintEnforcement {
ConstraintEnforcement get ();
void set (ConstraintEnforcement value);
}
member ConstraintEnforcement : ConstraintEnforcement with get, set
function get ConstraintEnforcement () : ConstraintEnforcement
function set ConstraintEnforcement (value : ConstraintEnforcement)
Valor da propriedade
Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintEnforcement
Returns a ConstraintEnforcement enumeration value.