dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlScript Class / MySqlScript Constructor / MySqlScript Constructor(String,MySqlConnection)
The text of the query.
A MySqlConnection object that represents the connection to a database.

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

Parameters

scriptText
The text of the query.
connection
A MySqlConnection object that represents the connection to a database.
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