PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the list of recipients for a notification sent via the Control Centers (WDBal messaging tool). This notification is sent by the HFSQL server when a problem occurs.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
ctCSConnection is Connection
ctCSConnection..Provider = hAccessHFClientServer
ctCSConnection..User = "admin"
ctCSConnection..Password = ""
ctCSConnection..Server = "test:4900"
HOpenConnection(ctCSConnection)

ListEmailRecip is string
ListEmailRecip = HNotifListCCRecipient(ctCSConnection)

FOR EACH STRING ARecipient OF ListEmailRecip SEPARATED BY CR
sRecipient is string = ExtractString(ARecipient, 1, TAB)
Notif is int = ExtractString(ARecipient, 2, TAB)
NotifLevel is string
SWITCH Notif
CASE hNotifError: NotifLevel = "Minimum level: Errors"
CASE hNotifWarning: NotifLevel = "Minimum level: Warning"
CASE hNotifCritical: NotifLevel = "Minimum level: Critical"
END
Trace(sRecipient + TAB + NotifLevel)
END
Syntax
<Result> = HNotifListCCRecipient(<Connection Name>)
<Result>: Character string
List of notification recipients via the Control Centers. The list has the following format:
<Recipient Name> + TAB + <Notification Level> + CR + ...
where:
  • <Recipient Name>: character string corresponding to the name of the notification recipient.
  • <Notification Level>: integer constant corresponding the the minimum severity level of the problem from which a notification is sent. The available values are as follows:
    hNotifWarningThe notifications will be sent from the warning level (for the warning, critical and error problems).
    hNotifCriticalThe notifications will be sent from the critical level (for the critical and error problems).
    hNotifErrorThe notifications will be sent for the error problems only.
<Connection Name>: Character string (with or without quotes)
Name of connection to use. This connection was defined:
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment