Update cookies preferences

GetBackupInfo - method of the PmgEventViewer object

Returns information regarding backups.
Variant GetBackupInfo(String sWhat, [String sParams], [Function onComplete])
sWhat(String) Specifies type of returned information. The calling may be both synchronous or asynchronous.
active.id - Returns id of active backup. Synchronous, the onComplete parameter is not used.
list - Returns 2-dimensional array with backup list (id + displayed name). Asynchronous, the onComplete parameter is used.
sParams[optional] (String) Additional parameters Not being used so far. Either must be omited or an empty string "" must be used.
onComplete[optional] (Function) The parameter onComplete contains a function that will be called for asynchronous handover of the result. The function must be in syntax: function onComplete(result) {};
where the parameter result contains the returned value (result) of the asynchronous calling.
This method is also functional in Web panels.
See also:
JavaScriptVBScriptSelect and copy to clipboard

var oViewer = pMe.Items("/Viewer");
var aBackup = oViewer.GetBackupInfo("list", "");
var sBackup = oViewer.GetBackupInfo("active.id", "");

Pm9.00.00: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.