The CommandLineParamValue function returns the value of a key of the argument section of the command line.
Syntax | |||||
CommandLineParamValue(ParamKey) | |||||
Return value | |||||
Type |
Description | ||||
String |
Content of the argument section | ||||
Parameter | |||||
Use |
Name |
Type |
Passing |
Description | |
Required |
ParamKey |
String |
ByVal |
Name of the parameter of the argument section of the command line | |
Example:
Supposed that the TCE client starts with an additional parameter in the argument section:
-DBServer=Server01
Then this additional parameter can be evaluated via the CommandLineParamValue function:
Dim Value As String
Value := Client.CommandLineParamValue("DBServer")
After execution the content of Value is “Server01”.