xSQL Schema Compare SDK for SQL Server version 12
ScriptBatch Constructor(String,String,ScriptTypeEnum)


The T-SQL script.
A description for the batch script.
The type of the script included in the batch.
Initializes a new instance of the ScriptBatch class with the specified settings.
Syntax
'Declaration
 
Public Function New( _
   ByVal script As System.String, _
   ByVal description As System.String, _
   ByVal fragmentType As ScriptTypeEnum _
)
public ScriptBatch( 
   System.string script,
   System.string description,
   ScriptTypeEnum fragmentType
)
public: ScriptBatch( 
   System.string* script,
   System.string* description,
   ScriptTypeEnum fragmentType
)

Parameters

script
The T-SQL script.
description
A description for the batch script.
fragmentType
The type of the script included in the batch.
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

ScriptBatch Class
ScriptBatch Members
Overload List

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback