xSQL Schema Compare SDK for SQL Server version 12
ExecuteEnableConstraints() Method

Executes the script that enables the foreign keys and check constraints that were created with NOCHECK option by the main synchronization script.
Public Overloads Function ExecuteEnableConstraints() As ScriptExecutionStatusEnum
public ScriptExecutionStatusEnum ExecuteEnableConstraints()
public: ScriptExecutionStatusEnum ExecuteEnableConstraints(); 

Return Value

The status of the script execution.
The script that enables the constraints is a special-purpose script generated to handle some specific scenarios.

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
Overload List



┬ęCopyright 2022 xSQL Software. All Rights Reserved.

Send Feedback