Executes a SQL script using the given connection string.
Namespace: CodeSmith.BaseTemplatesAssembly: CodeSmith.BaseTemplates (in CodeSmith.BaseTemplates.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public static ScriptResult ExecuteScript( string connectionString, string script ) |
Visual Basic |
---|
Public Shared Function ExecuteScript ( connectionString As String, script As String ) As ScriptResult |