Visara Master Console Center Scripting Guide Manual de usuario Pagina 72

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 262
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 261 262

Comentarios a estos manuales

Sin comentarios