SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API Functions SE RemoveComponentRelationship |
---|
extern SE_Return_Code | |||
SE_RemoveComponentRelationship | |||
( | |||
SE_Object | aggregate_object, | 1 | |
SE_Object | component_object, | 2 | |
SE_Object | link_object | 3 | |
); |
Breaks the relationship between aggregate_object and component_object (and link_object, if given). Does notremove any of the objects involved from the transmittal (see SE_RemoveFromTransmittal()).
The transmittal whose object is to be edited must be explicitly opened in UPDATE mode for this operation to succeed.
Note that the relationship being removed may be 1-way or 2-way. If it is 2-way, both connections are removed, unless the component is unresolved.
SE_RETCOD_SUCCESS | and the relationship is removed. |
SE_RETCOD_FAILURE | and the status code is set appropriately if the call failed. |
SE_Status_Code(s) when SE_RETCOD_SUCCESS is returned:
SE_STATCODE_SUCCESS | set if valid parameters were passed in and all operations succeeded. |
SE_Status_Code(s) when SE_RETCOD_FAILURE is returned:
SE_STATCODE_UNRESOLVED_INPUT_OBJECT | set if aggregate_object is unresolved, or link_object is provided but unresolved. |
SE_STATCODE_UNRESOLVED_OUTPUT_OBJECT | set if the DRM defines the relationship as bidirectional, but component_object is unresolved, so the relationship from component_object to aggregate_object cannot be removed. |
SE_STATCODE_INVALID_ACCESS_MODE |
set if
|
SE_STATCODE_INACTIONABLE_FAILURE |
set if
|
1 object whose relationship to one of its components is being broken.
2 object whose relationship to one of its aggregators (1-way or 2-way) is being broken
3 if specified, link object for the component relationship being removed.
Prev: SE_RemoveAssociateRelationship.
Next: SE_RemoveFromTransmittal.
Up:Index.
|