Click or drag to resize
Galactic API

SqlUtilityRunScript Method

Runs SQL script files given their path.

Namespace:  Galactic.Sql
Assembly:  Galactic.Sql (in Galactic.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public virtual bool RunScript(
	string connectionString,
	string[] scriptPaths,
	EventLog log
)

Parameters

connectionString
Type: SystemString
The connection string to use when creating the database.
scriptPaths
Type: SystemString
The paths to the script files on the filesystem.
log
Type: Galactic.EventLogEventLog
The event log to log execptions to. May be null for no logging.

Return Value

Type: Boolean
True if all scripts ran, false otherwise.
See Also