WebCenter Interaction API  
 

IPTServerConfigSettings.SetSetting Method (Int32, Object)

Sets the specified global Plumtree setting. Note that setting changes generally do not take effect until the Plumtree process is restarted. NOTE: Generally, clients should call the "type safe" SetSetting calls (which take in int, String, XPDateTime, or double variables.) The type safe calls assure that the Server properly interprets the type of the argument. This function does NOT support any datatypes that are not supported by a typesafe call. If the caller passes in a value that is not of type Integer, String, XPDateTime, or Double, and exception is thrown.

void SetSetting(
   int iSettingID,
   object objValue
);

Parameters

iSettingID
is the ID of the setting to set. See {@link com.plumtree.server.PT_SERVER_CONFIG_SETTINGNAME PT_SERVER_CONFIG_SETTINGNAME} for allowed values.
objValue
is the value which the setting should have.

See Also

IPTServerConfigSettings Interface | com.plumtree.server Namespace | IPTServerConfigSettings.SetSetting Overload List