Name

VMGetNumRootSnapshots

Description

($err, $result) = VMGetNumRootSnapshots($vmHandle);

This function returns the number of top-level (root) snapshots belonging to a virtual machine.

Parameters

vmHandle
Identifies a virtual machine. Call VMOpen() to create a virtual machine handle.

Return Value

$err. The error code returned by the operation. For returned values, see Topics > Error Codes.

$result. The number of root snapshots on this virtual machine.

Remarks

Side Effects

None.

Requirements

use VMware::Vix::Simple;
use VMware::Vix::API::Constants;
since VMware Workstation 6.0
Copyright (C) 2007-2011 VMware, Inc. All rights reserved.