SqlScript Constructor(String,SqlConnection)
Initializes a new instance of the
SqlScript class with the text of the query and a
SqlConnection object.
Parameters
- scriptText
- The text of the query.
- connection
- A SqlConnection object that represents the connection to a database.