« Back to Product

Documentation

GetStatus

Require: IP-Symcon >= 5.1

 int GetStatus ()

Returns

Current status

Description

This function returns the current status of the instance.

Table: Instance status

Value #status
101 Instance is creating
102 Instance is active
103 Instance is deleting
104 Instance is inactive
105 Instance was not created
>=200 Instance is faulty

For more information on status codes, see Messages.

Example

// Queries the current status of the instance
$currentStatus = $this->GetStatus();
Any questions?