xSQL Schema Compare SDK version 9.5 for SQL Server
GetScript(SqlDatabase,ComparisonOptions) Method


The new target database that overrides the default one.
The new options.
Returns the schema synchronization script that should run against the specified target database and with the specified options.
Syntax
'Declaration
 
Public Overloads Function GetScript( _
   ByVal targetDatabase As SqlDatabase, _
   ByVal options As ComparisonOptions _
) As System.String
public System.string GetScript( 
   SqlDatabase targetDatabase,
   ComparisonOptions options
)
public: System.string* GetScript( 
   SqlDatabase* targetDatabase,
   ComparisonOptions* options
) 

Parameters

targetDatabase
The new target database that overrides the default one.
options
The new options.

Return Value

A string that contains the script.
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