Share via


ExportReferencePoint method of the Msvm_CollectionReferencePointService class

Exports a reference point collection to a file. The reference point collection, its configuration settings, and its resource settings will be preserved in the resulting file.

Syntax

uint32 ExportReferencePoint(
  [in]  CIM_Collection  REF ReferencePointCollection,
  [in]  string              ExportDirectory,
  [in]  string              ExportSettingData,
  [out] CIM_ConcreteJob REF Job
);

Parameters

ReferencePointCollection [in]

A reference to a CIM_Collection object that represents the reference point collection to export.

ExportDirectory [in]

The fully qualified path of the directory that will contain the exported reference point collection.

ExportSettingData [in]

An embedded instance of Msvm_CollectionReferencePointExportSettingData that represents the settings for the export operation.

Job [out]

A reference to a job that is used if the operation is performed asynchronously.

Return value

If this method runs synchronously, it returns "0" if it succeeds. If this method runs asynchronously, it returns "4096" and a job is used to monitor the progress of the operation. Any other return value indicates an error.

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