« Zurück zu Produkt

Dokumentation

GetStatus

Benötigt: IP-Symcon >= 5.1

 int GetStatus ()

Rückgabewert

Aktueller Status

Beschreibung

Diese Funktion liefert den aktuellen Status der Instanz.

Tabelle: Status der Instanz

Wert Status
101 Instanz wird erstellt
102 Instanz ist aktiv
103 Instanz wird gelöscht
104 Instanz ist inaktiv
105 Instanz wurde nicht erstellt
106 Instanz ist im Standby
>=200 Instanz ist fehlerhaft

Für weitere Informationen zu Status Codes, siehe Nachrichten

Beispiel

// Fragt den aktuellen Status der Instanz ab
$currentStatus = $this->GetStatus();
Haben Sie noch Fragen?