boolean IPS_IsInstanceCompatible (integer $InstanceID, integer $ParentID)
InstanceID | ID of the instance |
ParentID | ID of the potential parent instance |
TRUE if the instance is compatible, otherwise FALSE |
The command determines if the instance with the ID ParentID is a valid parent instance for the instance with the ID InstanceID.
if (IPS_IsInstanceCompatible(12345, 23456)) echo "Instance is compatible to another instance!";