Programming Guide |
Sets value of named property
int sm_mts_PutPropertyValue(char *group, char *prop, char *val);
group
- Name of the property group.
prop
- Name of the property.
val
- The property's value, passed as a string.
MTS
Server
sm_mts_PutPropertyValue
sets the value of the named property within the specified group. If the property or the group does not exist, it will be created.For more details see the put_Value method under ISharedProperty in the MTS documentation.
Note that this function requires an object context and therefore cannot be used in the constructor of a service component.