|
|
|
|
|
<Connection variable>.NotifListEmailRecipient (Function) In french: <Variable Connexion>.NotifListeDestinataireEmail
Available only with this kind of connection
Returns the list of recipients for a notification by email. This notification is sent by the HFSQL server when a problem occurs. cnxConnexionCS is Connection
cnxConnexionCS.Provider = hAccessHFClientServer
cnxConnexionCS.User = "admin"
cnxConnexionCS.MotDePasse = ""
cnxConnexionCS.Server = "test:4900"
cnxConnexionCS.OpenConnection()
ListeDestEmail is string
ListeDestEmail = cnxConnexionCS.NotifListEmailRecipient()
FOR EACH STRING UnDestinataire OF ListeDestEmail SEPARATED BY CR
sDestinataire is string = ExtractString(UnDestinataire, 1, TAB)
Notif is int = ExtractString(UnDestinataire, 2, TAB)
NiveauNotif is string
SWITCH Notif
CASE hNotifError : NiveauNotif = "Niveau minimal : Erreurs"
CASE hNotifWarning : NiveauNotif = "Niveau minimal : Avertissement"
CASE hNotifCritical : NiveauNotif = "Niveau minimal : Critique"
END
Trace(sDestinataire + TAB + NiveauNotif)
END
Syntax
<Result> = <Connection>.NotifListEmailRecipient()
<Result>: Character string List of recipients for the notification by email. The list has the following format:
<Email Address of Recipient> + TAB + <Notification Level> + CR + ... where: - <Adresse email du destinataire> string corresponding to the recipient's email address.
- <Niveau de notification> is an integer constant corresponding to the minimum level of problem severity at which a notification is sent. The available values are as follows:
| | hNotifCritical | The notifications will be sent from the critical level (for the critical and error problems). | hNotifError | The notifications will be sent for the error problems only. | hNotifWarning | The notifications will be sent from the warning level (for the warning, critical and error problems). |
<Connection>: Connection variable Name of the Connection variable that describes the connection to use.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|