Visara Master Console Center Scripting Guide Instrukcja Użytkownika Strona 72

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 262
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 71
Chapter 5 Script Commands
Scripting Guide 72
ALERTDEL
Syntax:
ALERTDEL( %AlertID) ==> %ErrCode
Description:
Deletes an existing Alert.
Action:
The alert specified by %AlertID is deleted (removed) from the Alert
Window.
Parameters:
%AlertID. Numeric expression. The unique alert ID of the alert to be
deleted.
Returns:
Numeric value. Possible values are listed below:
Manifest Constant
Err_None
ERROR
ALERT_NOTFOUND
ALERT_SENDFAILED
ALERT_RECEIVEDFAILED
Value
0
-1
-22
-20
-21
Associated String
No Error
Could not communicate
with Alert Manager
Specified Alert not found
The socket write failed
Notes:
None
Example:
// Create a bogus alert and delete it right away
%AlertID := ALERTCREATE(STATUS_ERROR, ALERTSTATE_NEW,
$OSName, “This is a test alert”, “Just testing”)
%ErrCode := ALERTDEL(%AlertID)
See Also:
ALERTMOD, ALERTDEL, ALERTGETACTIVE
Przeglądanie stron 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 261 262

Komentarze do niniejszej Instrukcji

Brak uwag