Visara Master Console Center Scripting Guide Manuel d'utilisateur Page 72

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 262
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 261 262

Commentaires sur ces manuels

Pas de commentaire