dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlScript Class / SqlScript Constructor / SqlScript Constructor(String,SqlConnection)
The text of the query.
A SqlConnection object that represents the connection to a database.

In This Topic
SqlScript Constructor(String,SqlConnection)
In This Topic
Initializes a new instance of the SqlScript class with the text of the query and a SqlConnection object.
Syntax
'Declaration
 
Public Function New( _
   ByVal scriptText As String, _
   ByVal connection As SqlConnection _
)
 

Parameters

scriptText
The text of the query.
connection
A SqlConnection object that represents the connection to a database.
See Also