Freigeben über


MigrateVirtualMachine method of the MSCluster_Resource class

Migrates the virtual machine settings.

Syntax

void MigrateVirtualMachine(
  [in] string SnapshotDestinationPath,
  [in] string ConfigurationDestinationPath,
  [in] string SwapFileDestinationPath,
  [in] string SourcePaths[],
  [in] string DestinationPaths[],
  [in] string ResourceDestinationPools[]
);

Parameters

SnapshotDestinationPath [in]

The snapshot path.

ConfigurationDestinationPath [in]

The configuration path.

SwapFileDestinationPath [in]

The swapfile path.

SourcePaths [in]

The source paths to migrate.

DestinationPaths [in]

The destination paths to migrate to.

ResourceDestinationPools [in]

The destination resource pools to migrate to.

Return value

This method does not return a value.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\MSCluster
MOF
ClusWmi.mof
DLL
ClusWMI.dll

See also

MSCluster_Resource