Modifier

Partager via


Msvm_VHDSnapshotInformation class

Provides information about a snapshot within a VHD Set file

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[AMENDMENT]
class Msvm_VHDSnapshotInformation
{
  string   FilePath;
  string   SnapshotId;
  string   SnapshotPath;
  string   ParentPathsList[];
  DATETIME CreationTime;
  string   ResilientChangeTrackingId;
};

Members

The Msvm_VHDSnapshotInformation class has these types of members:

Properties

The Msvm_VHDSnapshotInformation class has these properties.

CreationTime

Data type: DATETIME

Access type: Read-only

The date and time of this snapshot's creation.

FilePath

Data type: string

Access type: Read-only

The path of the VHD Set file.

ParentPathsList

Data type: string array

Access type: Read-only

A list of file paths representing all of the files on which this snapshot depends. This field will be empty unless specifically requested. The first entry is the file's immediate parent, with the last entry being the root.

ResilientChangeTrackingId

Data type: string

Access type: Read-only

The resilient change tracking ID, if any, associated with this snapshot.

SnapshotId

Data type: string

Access type: Read-only

A GUID that uniquely identifies this snapshot within the VHD Set file.

SnapshotPath

Data type: string

Access type: Read-only

The path of the file represented by this snapshot. This field may be empty if there is no file associated with this snapshot.

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Namespace
Root\virtualization\v2
MOF
WindowsVirtualization.V2.mof
DLL
Vmms.exe