xSQL Schema Compare SDK version 9.5 for SQL Server
ExecuteEnableConstraints(String,ComparisonOptions) Method


The new connection string that contains the name and the credentials of the target database.
The new options.
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( _
   ByVal connectionString As System.String, _
   ByVal options As ComparisonOptions _
) As ScriptExecutionStatusEnum
public ScriptExecutionStatusEnum ExecuteEnableConstraints( 
   System.string connectionString,
   ComparisonOptions options
)
public: ScriptExecutionStatusEnum ExecuteEnableConstraints( 
   System.string* connectionString,
   ComparisonOptions* options
) 

Parameters

connectionString
The new connection string that contains the name and the credentials of the target database.
options
The new options.

Return Value

The status of the script execution.
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 2018 xSQL Software. All Rights Reserved.

Send Feedback