Compartilhar via


ConvertToReferencePoint method of the Msvm_VirtualSystemSnapshotService class

Converts a virtual machine snapshot to a reference point.

Syntax

uint32 ConvertToReferencePoint(
  [in]      CIM_VirtualSystemSettingData     REF AffectedSnapshot,
  [in]      string                               ReferencePointSettings,
  [in, out] Msvm_VirtualSystemReferencePoint REF ResultingReferencePoint,
  [out]     CIM_ConcreteJob                  REF Job
);

Parameters

AffectedSnapshot [in]

A reference to the CIM_VirtualSystemSettingData instance that represents the virtual machine snapshot.

ReferencePointSettings [in]

An embedded instance of the CIM_SettingData class that contains the parameter settings for the reference point. This parameter is optional and may be an empty string.

ResultingReferencePoint [in, out]

A reference to the Msvm_VirtualSystemReferencePoint instance that represents the new reference point.

Job [out]

A reference to an optional job for the operation if the operation is run asynchronously.

Return value

This method returns one of the following values.

Completed with No Error (0)

Not Supported (1)

Failed (2)

Timeout (3)

Invalid Parameter (4)

Invalid State (5)

Invalid Type (6)

DMTF Reserved (7 4095)

Method Parameters Checked - Job Started (4096)

Method Reserved (4097 32767)

Vendor Specific (32768 65535)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

Msvm_VirtualSystemSnapshotService