xSQL Schema Compare SDK for SQL Server version 12
EnableContraintScripts Property


Gets the collection of script fragments that enable foreign keys and check constraints. If the option ComparisonOptions.ScriptConstraintsWithNoCheck is selected.
Syntax
'Declaration
 
Public ReadOnly Property EnableContraintScripts As SchemaScriptFragmentCollection
public SchemaScriptFragmentCollection EnableContraintScripts {get;}
public: __property SchemaScriptFragmentCollection* get_EnableContraintScripts();
Remarks
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.
Requirements

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

Reference

ScriptManager Class
ScriptManager Members

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback