JMPutSessionProperty
Adds or modifies a session property.
OSStatus JMPutSessionProperty (
JMSessionRef session,
const char* propertyName,
const char* propertyValue);
session
- The session whose property you wish to set.
propertyName
- A null-terminated string holding the name of the property whose value you want to add or modify.
propertyValue
- The value to set for
propertyName.
- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
If the property does not exist, JManager creates a new one with the name in propertyName and the value in propertyValue. This function corresponds to the Java method java.lang.System.setProperty.
SEE ALSO
The JMGetSessionProperty function (page 26).