Collapse All
Parallels C API Reference Guide
PrlVmCfg_SetSmartGuardMaxSnapshotsCount Function
PrlApi.h PHT_VM_CONFIGURATION

Sets the maximum snapshot count, a SmartGuard feature.

Syntax
PRL_RESULT PrlVmCfg_SetSmartGuardMaxSnapshotsCount(
    PRL_HANDLE hVmCfg, 
    PRL_UINT32 nMaxSnapshotsCount
);
File
Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
nMaxSnapshotsCount
Maximum snapshot count to set. The maximum allowable value is 100.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

SmartGuard is a facility that allows to make automatic snapshots of a virtual machine at predefined time intervals. The snapshot count setting specifies how many snapshots taken by SmartGuard will be kept on the hard drive (maximum is 100). As soon as the maximum number is exceeded, the oldest snapshot is deleted.

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!