Run - method of the PmaTrendGroup object
Description:
The method saves all current values on the "
Data" tab with the current time, i.e. with time of the computer at the moment of calling this method.
Return value:
true - The request for writing the record into the archive was received successfully. The write operation itself will be completed later after this method is finished. In case of write failure the
onError event is triggered.
false - The request for writing the record into the archive was not received successfully. The reason can be for example wrong storage setting. The
onError event is not triggered.
Example1:
JavaScriptVBScriptSelect and copy to clipboard
pMe.Pm("/Trends").Run();
pMe.Pm("/Trends").Run
Example2:
JavaScriptVBScriptSelect and copy to clipboard
var oTrend = pMe.Pm("/Trends");
var bRun = oTrend.Run();
if (! bRun)
{
// ... error
}
Dim oTrend
Set oTrend = pMe.Pm("/Trends")
Dim bRun
Set bRun = oTrend.Run()
If Not bRun Then
' ... error
End If