The ScriptUtility type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ScriptUtility()()()() | Initializes a new instance of the ScriptUtility class |
![]() | ScriptUtility(String, String) | Initializes a new instance of the ScriptUtility class |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | ExecuteScript()()()() |
Executes the script.
|
![]() ![]() | ExecuteScript(String, String) |
Executes a SQL script using the given connection string.
|
![]() ![]() | ExecuteScript(String, String, SqlInfoMessageEventHandler) |
Executes a SQL script using the given connection string.
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | ConnectionString |
The connection string to use when executing the script.
|
![]() | Script |
The script to execute.
|
Events
Name | Description | |
---|---|---|
![]() | ScriptInfoMessage |