大网数据广告活动
Hyper-V与虚拟化

Msvm_VHDSnapshotInformation class

· 52CE 我爱测

Provides information about a snapshot within a VHD Set file.

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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。