Service to create, destroy and export snapshot collection of virtual systems.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_CollectionSnapshotService : CIM_Service
{
};
Members
The Msvm_CollectionSnapshotService class has these types of members:
Methods
The Msvm_CollectionSnapshotService class has these methods.
| Method | Description |
|---|---|
| ApplySnapshot | Applies a snapshot collection to the collection of virtual computer system. |
| ConvertToReferencePoint | Convert an existing collection snapshot to a reference point collection. The snapshot collection gets deleted as a side effect. Only recovery snapshots can be converted to reference points. |
| CreateSnapshot | Creates a snapshot of a virtual system collection. |
| DestroySnapshot | Destroy an existing snapshot of virtual system collection. This method may as a side effect destroy other snapshots that are dependent on the affected snapshot. |
| ExportSnapshot | Exports a snapshot collection of virtual computer systems to a file. The snapshot collection, its associated configuration settings, and its associated resource settings will be preserved in the resulting file. |
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 |
See also
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.
