Collapse All
Parallels C API Reference Guide
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
What do you think about this topic? Send feedback!