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.
Syntax
'Declaration
 
Public Overloads Function ExecuteEnableConstraints() As ScriptExecutionStatusEnum
public ScriptExecutionStatusEnum ExecuteEnableConstraints()
public: ScriptExecutionStatusEnum ExecuteEnableConstraints(); 

Return Value

The status of the script execution.
Remarks
The script that enables the constraints is a special-purpose script generated to handle some specific scenarios.
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
Overload List

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback