AlterTableConstraintModificationStatement.ConstraintEnforcement Property
Gets or sets the constraint enforcement value.
Namespace: Microsoft.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)
Syntax
'Declaration
Public Property ConstraintEnforcement As ConstraintEnforcement
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)
Property Value
Type: Microsoft.Data.Schema.ScriptDom.Sql.ConstraintEnforcement
Returns a ConstraintEnforcement enumeration value.
Remarks
When disabled, future inserts or updates to the column are not validated against the constraint conditions.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.