Click or drag to resize

TaskHelperExecuteMSSQLScripts Method

Execute .sql files located in a directory

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 8.1.0.0+4fe7975a95558d7cdf0d4c425e2c3a22827d67dd
Syntax
C#
public void ExecuteMSSQLScripts(
	string scriptsDirectory,
	bool useAllConnections = false,
	bool stopOnError = true,
	int errorClassLevel = 11,
	string fileNameFilter = "*.sql",
	int waitCommands = 20,
	int waitConnections = 100,
	int waitFiles = 10
)

Parameters

scriptsDirectory  String
 
useAllConnections  Boolean  (Optional)
 
stopOnError  Boolean  (Optional)
 
errorClassLevel  Int32  (Optional)
 
fileNameFilter  String  (Optional)
 
waitCommands  Int32  (Optional)
 
waitConnections  Int32  (Optional)
 
waitFiles  Int32  (Optional)
 
See Also