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


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

Parameters

script
The script to add.
description
The script description.
scriptType
The script type.

Return Value

The ScriptBatch that was created and added to the collection.
Exceptions
ExceptionDescription
System.ArgumentNullException

The script parameter is null

or

The description 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