« Back to Product

Documentation

IPS_InstanceExists

 boolean IPS_InstanceExists (int $InstanceID) 

Parameters

InstanceID

ID of the Instance to be tested

Returns

If the InstanceID exists in the system, TRUE is returned, otherwise FALSE.

Description

The command checks whether the instance exists with the ID InstanceID.

Example

if (IPS_InstanceExists(45724))
    echo "Instance already exists!";
Any questions?