dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlScript Class / MySqlScript Constructor / MySqlScript Constructor(Stream,MySqlConnection)
A Stream object that contains the script text.
A MySqlConnection object that represents the connection to a database.

In This Topic
MySqlScript Constructor(Stream,MySqlConnection)
In This Topic
Initializes a new instance of the MySqlScript class with a Stream object to get SQL statements from and a MySqlConnection object.
Syntax
'Declaration
 
Public Function New( _
   ByVal stream As Stream, _
   ByVal connection As MySqlConnection _
)
 

Parameters

stream
A Stream object that contains the script text.
connection
A MySqlConnection object that represents the connection to a database.
See Also