Visara Master Console Center Scripting Guide Manuale Utente Pagina 72

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 262
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 261 262

Commenti su questo manuale

Nessun commento