edmiDeleteInstanceReferences
EdmiError edmiDeleteInstanceReferences(SdaiInstance currInst);
Deletes all references, i.e., all relations to the specified instance. This function is only applicable to application instances. The data model that holds the specified instance must be open for write access to enable a successful execution of this function. Normally an instance cannot be deleted as long as any other instances have relations to the instance to delete, i.e., all references to the instance must be deleted before the instance can be deleted. This default behavior can be overruled by system configuration settings.
Arguments
Type | Name | Comment |
SdaiInstance | currInst | A numeric instanceID that uniquely identifies the instance in the EDMdatabase to delete all references to. |
Return Value
Options
Â
Example
Â
 EdmiError rstat; SdaiInstance currInst; ... if (rstat = edmiDeleteInstanceReferences (currInst)) { /* Error in operation */ printf("\nError in edmiDeleteInstanceReferences: %s\n", edmiGetErrorText(rstat)); goto error; } . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â