|tTimeOff||[optional] (Date) Inactivation time. If not set, then the computer current time is used.|
If the alarm is inactivated without parameters, then the simplier way can be used by writing the value false to the Active property.
It is irrelevant for events (relevant only for alarms).
The method is synchronous, i.e. it is processed immediately by the alarm subsystem. Nevertheless writing the history to disk is asynchronous, it means that this method passes the request for writing to the history to the alarm subsystem, it is placed into the queue of requests and it is processed later by the alarm subsystem.
Set oItem = pMe.Pm("/alarm").Item("Temperature")