RdvCopyBaseVmLocally method of the Win32_RdvhManagement class

Copies a local base virtual machine to a specified remote desktop virtualization (RDV) host server.

Syntax

uint32 RdvCopyBaseVmLocally(
  [in] string BaseVmLocation,
  [in] string FarmName,
  [in] string GoldCacheLocation
);

Parameters

BaseVmLocation [in]

The base virtual machine location.

FarmName [in]

The name of the host farm to copy to.

GoldCacheLocation [in]

The gold cache location.

Return value

Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\CIMv2\TerminalServices
MOF
TSVmHost.mof
DLL
TSVmHostWmi.dll

See also

Win32_RdvhManagement