boolean IPS_ApplyChanges (int $InstanceID)
InstanceID | ID of the instance |
If the command succeeds, it returns TRUE, otherwise FALSE.
The command applies the planned configuration as the current actual configuration and reinitializes appropriate module components if necessary, e.g., for a socket module, the network connection is dropped and rebuilt.
if(IPS_HasChanges(12345))
{
IPS_ApplyChanges(12345);
}