This function runs a SCOPE script on the local machine.
Namespace: ScopeClientAssembly: Scope (in Scope.exe) Version: 10.2.0.0 (10.2.2.0)
Syntax
C# |
---|
public static void Run(
string scopeScriptFileName,
Dictionary<string, string> parameters,
bool outputHeader,
bool catchExceptions
) |
Visual Basic |
---|
Public Shared Sub Run ( _
scopeScriptFileName As String, _
parameters As Dictionary(Of String, String), _
outputHeader As Boolean, _
catchExceptions As Boolean _
) |
Visual C++ |
---|
public:
static void Run(
String^ scopeScriptFileName,
Dictionary<String^, String^>^ parameters,
bool outputHeader,
bool catchExceptions
) |
Parameters
- scopeScriptFileName
- Type: String
The name of the SCOPE script file.
- parameters
- Type: Dictionary<(Of <(<'String, String>)>)>
This variable is used to pass parameters to the SCOPE script.
The key of each entry is the parameter name and the value of each entry is the parameter
value. If you don't have any parameters to pass, pass null.
- outputHeader
- Type: Boolean
Specifies if the header needs to be included in the output file.
- catchExceptions
- Type: Boolean
Catch the exceptions (deprecated - has no effect).
See Also