Promotic
WikipediaLinkedInYoutubeTwitterFacebook

OpenBackup - method of the PmgEventViewer object

Description:
Open backup.
Syntax:
Empty OpenBackup(Variant vBackup)
Parameters:
vBackup(Variant) Backup identifier. The "$latest" value means the newest backup.
Note:
The viewer connects automatically to the last backup after opening. The method OpenBackup allows switching between backups. The method is asynchronous, therefore the onConnect event is triggered after each connection to the backup (includig the initial automatic connection).
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oViewer = pMe.Items("/Viewer");
var aBackups = oViewer.GetBackupInfo("list", "");
var sBackup = aBackups.GetItem(0, 1);
oViewer.OpenBackup(sBackup);

History:
Pm9.00.00: Created
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice