DeleteGlobalParameter
Deletes global parameter.
Compatibility
Available as of IDEA version 12.0
Syntax
DeleteGlobalParameter(paramName As String, paramLocation As Integer, optionalData As String, recursive As Boolean)
Parameters
paramName
Extended parameter name
paramLocation
Location of the parameter (Machine = 0, Workflow = 1, File = 2, Folder = 3, Project = 4)
optionalData
Ignored for Machine and Project location;
Workflow id for Workflow;
File/folder path for File/Folder location;
recursive
If set to True, recursively deletes all parameters with the same name up the chain from the current location.
Remarks
If the parameter specified by paramName does not exist, SetGlobalParameters() command will create it.
If the parameter specified by paramName already exists, SetGlobalParameters() command will overwrite its value with a new one.
Example
Sub Main()
Dim ac As Object
Set ac = CreateObject("SmartAnalyzer.AutomationClient")
ac.SetGlobalParameter("IntValue", 100, 3, "2015_0603")
. . .
ac.DeleteGlobalParameter("IntValue", 3, "2015_0603", False)
. . .
End Sub