Close - method of the PmaTrendGroup object
Description:
Close the trend archive.
Note:
Closing the object (data archive on the disk is also closed). After calling this method no data can be saved/read from the
PmaTrendGroup object (or the memory buffer and the disk archive) and the object provides no data. (the methods
GetData,
GetValueByTime,
SetValueByTime GetTime, ... are no longer functional). The object can be opened any time later by calling the
Open method.
Example1:
JavaScriptVBScriptSelect and copy to clipboard
var oTrend = pMe.Pm("/Trends");
oTrend.Close();
Dim oTrend
Set oTrend = pMe.Pm("/Trends")
oTrend.Close