Name
SnapshotGetParent
Description
($err, $parentSnapshotHandle) = SnapshotGetParent($snapshotHandle);
This
function
returns the parent of a snapshot.
Parameters
- snapshotHandle
-
A snapshot handle.
Return Value
$err. The error code returned by the operation. For returned values, see Topics > Error Codes.
$parentSnapshotHandle. A handle to the parent of the specified snapshot.
Remarks
- If you pass a root snapshot handle as the first parameter, then this function will
return VIX_OK and set parentSnapshotHandle to VIX_INVALID_HANDLE.
- This function is not supported when using the
VIX_SERVICEPROVIDER_VMWARE_PLAYER
host type.
Side Effects
None.
Requirements
use VMware::Vix::Simple;
use VMware::Vix::API::Constants;
since VMware Workstation 6.0