xSQL Schema Compare SDK version 11 for SQL Server
EnableContraintScripts Property

Gets the collection of script fragments that enable foreign keys and check constraints. If the option ComparisonOptions.ScriptConstraintsWithNoCheck is selected.
Public ReadOnly Property EnableContraintScripts As SchemaScriptFragmentCollection
public SchemaScriptFragmentCollection EnableContraintScripts {get;}
public: __property SchemaScriptFragmentCollection* get_EnableContraintScripts();
The script that enables the constraints is a special-purpose script created to handle some specific scenarios and it is not always generated. It also requires the option ComparisonOptions.ScriptConstraintsWithNoCheck to be true.

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


ScriptManager Class
ScriptManager Members



┬ęCopyright 2019 xSQL Software. All Rights Reserved.

Send Feedback