xSQL Schema Compare SDK for SQL Server version 12
Execute(String,ComparisonOptions) Method


The new connection string which contains the name and the credentials of the target database.
The new options that override the options that were used during the schema compare.
Executes the schema synchronization script using the specified connection string and comparison options.
Syntax
'Declaration
 
Public Overloads Function Execute( _
   ByVal connectionString As System.String, _
   ByVal options As ComparisonOptions _
) As ScriptExecutionStatusEnum
public ScriptExecutionStatusEnum Execute( 
   System.string connectionString,
   ComparisonOptions options
)
public: ScriptExecutionStatusEnum Execute( 
   System.string* connectionString,
   ComparisonOptions* options
) 

Parameters

connectionString
The new connection string which contains the name and the credentials of the target database.
options
The new options that override the options that were used during the schema compare.

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 2022 xSQL Software. All Rights Reserved.

Send Feedback