<< Click to Display Table of Contents >>
AckAllAlarms |
AckAllAlarms([ActorID])
Performs an acknowledgment of all server Alarms, regardless of their Area. This method returns a Boolean indicating whether this operation was successful or not. The ActorID parameter informs the name of the user responsible for acknowledging these Alarms. This is an optional parameter and, if omitted, assumes Elipse Water Viewer's logged-on user, "Anonymous" if there is no user logged on, or "System" if this method's call started at the server. The next code contains an example of using this method.
Sub Button1_Click()
' When clicking this Button, acknowledges all Alarms
Application.GetObject("AlarmServer1")._
AckAllAlarms (Application.User)
End Sub