Documentation
IPS_DeleteLink
Require: Symcon >= 2.1
bool IPS_DeleteLink (int $LinkID)
Parameters
| LinkID | ID of the link to be deleted |
Returns
If the function succeeds, it returns TRUE, otherwise FALSE.
Description
The function deletes the existing link with the ID LinkID.
The link can only be deleted if it has no child objects. Otherwise, the function fails with "Cannot delete link if it has child objects".
Example
//Delete the link 47788
IPS_DeleteLink(47788);