SetParameter

SetParameter sets environmental and security parameters for the script to run in, this give the calling code the ability to script known script with low securities or unknown script in a tighter security model.

unsigned int SetParameter(
   Parameter parameter,
   __int64 integer = 0,
   const char16_t *string = NULL
);

Parameters

parameteridentifer of the parameter.
integerinteger value.
stringconstant string value.

Return Values

If the method succeeds, the return value is zero else see error codes for more details.

Remarks

Example Use
CTScript script();
script.SetParameter(CTScript::WORK_PATH_WRITE,TEXT("D:\\temporary"));

Also See

ExecuteStaticMethod, GetParameter
Comments (0)Listen All
Characters left: 2500
 

Contact Ekky Software

Thank you for your time and interest.
Ekky Software Customer Support Team.

Ekky Software Product Range
Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript