Programming Guide |
Creates a new property group
int sm_mts_CreatePropertyGroup(char *group);
group
- Name of group to be created.
MTS
Server
- 0 Success. The group was created.
- 1 The group previously existed.
- · Otherwise,
PR_E_OBJECT
. The log file will have further error information.
sm_mts_CreatePropertyGroup
creates a named property group. It is not necessary to call this function as getting or putting a value to a property will automatically create the group if necessary. See sm_mts_GetPropertyValue and sm_mts_PutPropertyValue.The one reason to call this function is to examine the return code. It will be 1 if the property group previously existed.
For more details see the CreatePropertyGroup method under ISharedPropertyGroupManager in the MTS documentation.
Panther uses the following settings:
- The isolation mode is set to LockMethod. This means that the group will be locked for the entire method call. This ensures that the object can read data, and update it, without interference with other objects.
sm_mts_CreateProperty, sm_mts_GetPropertyValue, sm_mts_PutPropertyValue