Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVmCfg_SetSmartGuardInterval Function
PHT_VM_CONFIGURATION  See Also

Sets the time interval at which snapshots are taken by SmartGuard.

Syntax
PRL_RESULT PrlVmCfg_SetSmartGuardInterval(
    PRL_HANDLE hVmCfg, 
    PRL_UINT32 nInterval
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
nInterval
The time interval to set, in seconds.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

SmartGuard is feature that allows to make automatic snapshots of a virtual machine at predefined time intervals. This function allows to set the interval at which the automatic snapshots are taken.

See Also
Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.