Click or drag to resize

TaskHelperExecuteMSSQLScripts Method

Execute .sql files located in a directory

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 8.0.0.0+c5a14bc14715399f60fcf611201a5e8ad953fbc3
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