getPropertiesByVersion method

Syntax
public java.util.Properties getPropertiesByVersion( java.lang.String script_version )
Remarks

Returns the set of properties associated with the script version. These are stored in the MobiLink system table ml_property. The script version is stored in the property_set_name column when the component_name is ScriptVersion.

Parameters
  • script_version   The script version for which to return associated properties.

Returns

The set of properties associated with the given script version.

See also
Example

The following code lists all the ServerContext's Properties associated with a given script version.

include java.util.*;
// ServerContext serverContext;
// PrintStream out
Properties properties = serverContext.getPropertiesByVersion(
"MyScriptVersion");
Properties.list(out);