共用方式為


CreateReferencePoint method of the Msvm_CollectionReferencePointService class

Creates a reference point of a virtual system collection.

Syntax

uint32 CreateReferencePoint(
  [in]      Msvm_VirtualSystemCollection REF Collection,
  [in]      string                           ReferencePointSettings,
  [in]      uint16                           ReferencePointType,
  [in, out] CIM_Collection               REF ResultingReferencePointCollection,
  [out]     CIM_ConcreteJob              REF Job
);

Parameters

Collection [in]

A Msvm_VirtualSystemCollection reference to the virtual system collection.

ReferencePointSettings [in]

The parameter settings for the reference point.

ReferencePointType [in]

The type of the reference point to create.

Unknown (0)

Log based (1)

RCT based (2)

DMTF Reserved

Vendor Specific

Vendor Reserved

ResultingReferencePointCollection [in, out]

The new reference point.

Job [out]

A reference to an optional job for the operation.

Return value

The possible return values are:

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_CollectionReferencePointService