xSQL Schema Compare SDK version 9.5 for SQL Server
Add(String,ScriptTypeEnum) Method


The script to add.
The type of script to add.
Adds a script to the batch collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal script As System.String, _
   ByVal scriptType As ScriptTypeEnum _
) As ScriptBatch
public ScriptBatch Add( 
   System.string script,
   ScriptTypeEnum scriptType
)
public: ScriptBatch* Add( 
   System.string* script,
   ScriptTypeEnum scriptType
) 

Parameters

script
The script to add.
scriptType
The type of script to add.

Return Value

The ScriptBatch that was created and added to the collection.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe script parameter is null.
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

ScriptBatchCollection Class
ScriptBatchCollection Members
Overload List

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback