Documentation
GetStatus
Require: Symcon >= 5.1
int GetStatus ()
Returns
Current status
Description
This function returns the current status of the instance.
Table: Instance status
| Value | Constant | #status |
|---|---|---|
| 101 | IS_ |
Instance is creating |
| 102 | IS_ |
Instance is active |
| 103 | IS_ |
Instance is deleting |
| 104 | IS_ |
Instance is inactive |
| 105 | IS_ |
Instance was not created |
| 106 | IS_ |
Instance is in standby |
| >=200 | IS_ |
Instance is faulty |
For more information on status codes, see Messages.
Example
// Queries the current status of the instance
$currentStatus = $this->GetStatus();